Don’t worry about jdk-10.0.1 as this might change for future releases. Set your JAVA_HOME environment with Sys.setenv(JAVA_HOME="C:/Program Files/Java/jdk-10.0.1/") so that it points to your specific (64-bit in my case) folder that contains the jdk. Install rJava with install.packages("rJava"). Conversely, if you installed 64-bit then everything should be installed in C:/Program Files/Java/. If you installed 32-bit Java then everything should be saved in C:/Program Files (x86)/Java/. For 64-bit I had to download the Windows version from here. I had 64 bit so I downloaded the Offline 64-bit version from here.ĭownload Java JDK for 32/64 bit. R and Java must have the same memory signature, either 32 or 64 bit. Check Platform.ĭownload the specific 32/64 bit of Java. If you want it somewhere else or in some particular folder then check the box given for Change Destination folder. By default, the Java (TM) SE Runtime Environment and Java HotSpot (TM) 64-Bit Server VM will install in the C: Drive of Windows. As of Java SE 6 Update 10, the release may be. Once you have the Setup, double click on it to run the installation wizard. The following advanced options, available only on Microsoft Windows, are also available. Downloading these releases requires an account. For most people, the installation instructions in the previous table are all that you need. Post here the steps that made it work in case anyone is interested (that is, future me).Ĭheck whether R is 32/64 bit with sessionInfo(). From the following table, select the instructions corresponding to your version of the Java release. Struggled for about two hours to install rJava on my Windows 10 machine.
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |