"R extension Error - Process failed, could not initialize R via JRI"
Hi,
Been trying a few days to fix this error. Process failed, could not initialize R via JRI.
I am using macbook, and followed this strictly:
======
After you have installed a proper version of R, you need to install rJava and JavaGD available on CRAN by typing the following command on the R console:
install.packages(c("rJava","JavaGD"))
Then you should activate rJava and JavaGD in the R package management.
>>I installed both packages, and started them using library(rJava) and library(JavaGD)
>> R is definitely working on my machine
Add following lines to your ~/.bash_profile or ~/.profile:
export R_HOME=/Library/Frameworks/R.framework/Resources
export JAVA_HOME=$(/usr/libexec/java_home)
>> I did this as well, and mine entries are
>> export R_HOME=/Library/Frameworks/R.framework/Resources
>> export JAVA_HOME=/Library/Java/JavaVirtualMachines/jdk1.8.0_31.jdk/Contents/Home
Now you can configure RapidMiner. Click on Select JRI library file and select the JRI dynamic-link library (e.g. /Library/Frameworks/R.framework/Resources/library/rJava/jri/libjri.jnilib).
>> Selected /Library/Frameworks/R.framework/Versions/3.0/Resources/library/rJava/jri/libjri.jnilib
After selecting the file you have to restart RapidMiner and the console you have started RapidMiner with.
>> I did the restart, but the error persists.
Thanks in advanced.
Been trying a few days to fix this error. Process failed, could not initialize R via JRI.
I am using macbook, and followed this strictly:
======
After you have installed a proper version of R, you need to install rJava and JavaGD available on CRAN by typing the following command on the R console:
install.packages(c("rJava","JavaGD"))
Then you should activate rJava and JavaGD in the R package management.
>>I installed both packages, and started them using library(rJava) and library(JavaGD)
>> R is definitely working on my machine
Add following lines to your ~/.bash_profile or ~/.profile:
export R_HOME=/Library/Frameworks/R.framework/Resources
export JAVA_HOME=$(/usr/libexec/java_home)
>> I did this as well, and mine entries are
>> export R_HOME=/Library/Frameworks/R.framework/Resources
>> export JAVA_HOME=/Library/Java/JavaVirtualMachines/jdk1.8.0_31.jdk/Contents/Home
Now you can configure RapidMiner. Click on Select JRI library file and select the JRI dynamic-link library (e.g. /Library/Frameworks/R.framework/Resources/library/rJava/jri/libjri.jnilib).
>> Selected /Library/Frameworks/R.framework/Versions/3.0/Resources/library/rJava/jri/libjri.jnilib
After selecting the file you have to restart RapidMiner and the console you have started RapidMiner with.
>> I did the restart, but the error persists.
Thanks in advanced.