November 2016
Beginner to intermediate
959 pages
43h 46m
English
The JRI allows you to execute R commands inside Java applications as a single thread. JRI loads R libraries into Java and thus provides a Java API to R functions.
Make sure all the steps in the earlier recipe Using Java objects in R are completed.
To use JRI to call R functions from Java, follow these steps:
R_HOME to where R has been installed and add the R bin directory to the environment variable PATH.Read now
Unlock full access