Enabling R Scripting
I'd like to try R scripting for the first time, but I'm struggling to get the R extension properly installed despite having read a number of posts on the topic. I'm running macOS Sierra 10.12.1, and after completing the steps below, I get the message: path to Rscript front end seems to be incorrect. But I can't see the problem in the path. Can anyone please help?
Installed Java Version 8 Update 112
Installed rJava and JavaGD via R
My Bash_Profile includes these lines
- export R_HOME=/Library/Frameworks/R.framework/Versions/3.3/Resources/Library
- export JAVA_HOME=/Library/Java/JavaVirtualMachines/jdk1.8.0_112.jdk/Contents/Home
RM preferences path to Rscript: /Library/Frameworks/R.framework/Versions/3.3/Resources/library/rJava/jri/libjri.jnilib