Skip to content

Installation and Java requirements

miturbide edited this page Feb 11, 2016 · 1 revision

For the latest stable release, the recommended installation procedure is to use the install_github command from the devtools R package.

devtools::install_github(c("SantanderMetGroup/loadeR.java","SantanderMetGroup/loadeR"))

Note that the auxiliary package loadeR.java is first installed. It contains the netCDF-Java API internally used by loadeR.

If your current installed version is not up-to-date, a warning message will be prompted on package load. The most common problems reported are related to: 1) Installing rJava 2) setting java version in rJava to 1.7 (or higher). Note that the Java version is automatically displayed when loading loadeR.

An historic log of former versions and changes can be found here.

Installing rJava may be troublesome: 1. 2. The netcdf java API (included in "loadeR.java") is not supported by java versions under 7. This causes some problems with rJava. Check the current version by ...

library(rJava) .jinit() .jcall("java/lang/System", "S", "getProperty", "java.runtime.version") Changing the Java version is a puta mierda *****