Enabling R Scripting

carl
carl New Altair Community Member
edited November 2024 in Community Q&A

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?

 

 

Steps Completed

Installed R3.3.2

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

Tagged:

Best Answer

Answers

Welcome!

It looks like you're new here. Sign in or register to get started.

Welcome!

It looks like you're new here. Sign in or register to get started.