Install the rJava Package in R

Posted on Dec 10, 2013 in Software • Tagged with R, rJava, Java, Linux

Things under legendu.net/outdated are outdated technologies that the author does not plan to update any more. Please look for better alternatives.

The most convenient way is to install the corresponding Linux package if exists.

sudo apt-get install r-cran-rjava

However, this Linux package is often outdated …


Continue reading

Call Java in R Using Package rJava

Posted on Jun 23, 2012 in Computer Science • Tagged with programming, Java, array, rJava, R, vector, package

Things under legendu.net/outdated are outdated technologies that the author does not plan to update any more. Please look for better alternatives.

The package "rJava" offers a convenient way to call Java code from R. The following are some tips for using the "rJava" package.

  1. You must first start …


Continue reading