November 2016
Beginner to intermediate
959 pages
43h 46m
English
Sometimes, we develop parts of an application in Java and need to access them from R. The rJava package allows us to access Java objects directly from within R.
If you have not already downloaded the files for this chapter, do it now and ensure that these files are in your R working directory:
javasamples and move all the files with extension .java or .class into this folder under your working directory.rJava using the install.packages("rJava") command.library(rJava) command.rJava to work in your environment, the JDK version should be identical for the following, and we explain how to get them in sync for Mac OS X:Read now
Unlock full access