Changes between Version 16 and Version 17 of udg/ecoms/RPackage/prerequisites
- Timestamp:
- Jan 19, 2016 3:07:24 PM (7 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
udg/ecoms/RPackage/prerequisites
v16 v17 1 1 = JRE Installation 2 2 3 Installation of the Java Platform, Standard Edition Runtime Environment (JRE), allows you to run Java programs on your PC and as you browse the Internet. The ` ecomsUDG.Raccess` package needs theJRE in order to use the powerful capabilities of the [http://www.unidata.ucar.edu/downloads/netcdf/netcdf-java-4/index.jsp netCDF Java Library].3 Installation of the Java Platform, Standard Edition Runtime Environment (JRE), allows you to run Java programs on your PC and as you browse the Internet. The `rJava` package used by ` loadeR` and `loadeR.ECOMS` packages needs JRE in order to use the powerful capabilities of the [http://www.unidata.ucar.edu/downloads/netcdf/netcdf-java-4/index.jsp netCDF Java Library]. 4 4 5 5 It is very likely that JRE is already installed on your computer, but just in case it is not, here are some instructions on how to get it. … … 23 23 = Installing the `rJava` package 24 24 25 [http://cran.r-project.org/web/packages/rJava/index.html rJava] is a R package providing a low-level interface to Java from R. If Java is installed and adequately configured in your computer, the `rJava` package will be automatically downloaded if not present when installing the ` ecomsUDG.Raccess` package, as any other package dependency.25 [http://cran.r-project.org/web/packages/rJava/index.html rJava] is a R package providing a low-level interface to Java from R. If Java is installed and adequately configured in your computer, the `rJava` package will be automatically downloaded if not present when installing the `loadR` package, as any other package dependency. 26 26 27 27 Therefore, in principle you should not worry about this and could skip this section. But just in case something related to `rJava` goes wrong during the installation, please bear in mind the following information: … … 49 49 === Mac OS X 50 50 51 Mac OS X comes with Java pre-installed, so everything should ‘just work’. 52 53 But if you are having problems with newly installed Java version please take a look to this: 51 Mac OS X comes with Java pre-installed, but sometimes an old version (~1.6) is used by the system, even if a new version is installed as described in the previous section. In this case, the problem is changing the default Java version to be used by R (or RStudio) to a newer one. You can check the version which is used in an R session by 52 {{{ 53 #!text/R 54 > library(rJava) 55 > .jinit() 56 > .jcall("java/lang/System", "S", "getProperty", "java.runtime.version") 57 }}} 58 If you are having problems with newly installed Java version please take a look to this: 54 59 [http://stackoverflow.com/questions/26948777/how-can-i-make-rjava-use-the-newer-version-of-java-on-osx] 55 60 56 and this: 61 In some cases, the problem is fixed for R but not for RStudio. In this situation, opening RStudio from the terminal may solve the problem. 62 {{{ 63 user$ /Applications/RStudio.app/Contents/MacOS/RStudio 64 }}} 65 66 Take a look also at the following link: 57 67 [https://support.rstudio.com/hc/communities/public/questions/200650933-rJava-fails-to-load-in-RStudio-Desktop-OS-X] 58 68 === Windows