install rJava package in RStudio
rJava is installed in the directory C:\Program Files\R\R-3.3.0\library\rJava
http://www.studytrails.com/blog/r-and-java-jri-using-netbeans/
set R_HOME and PATH in system environment:
PATH:
%R_HOME%/library/rJava/jri/;%R_HOME%/bin;%R_HOME%/bin/x64
R_HOME:
C:\Program Files\R\R-3.3.0
时间: 2024-10-07 15:36:51