The Altair Community is migrating to a new platform to provide a better experience for you. In preparation for the migration, the Altair Community is on read-only mode from October 28 - November 6, 2024. Technical support via cases will continue to work as is. For any urgent requests from Students/Faculty members, please submit the form linked here
installing the R extension for studio 6.3 on a mac
anyone got some info on how to install the latest R extension on a mac? I have the package, but didn't know how to complete the installation.
> I was hoping to use R to plot nodes with lat long in DD format using R.
is this possible -
rgds,
daryl.
> I was hoping to use R to plot nodes with lat long in DD format using R.
is this possible -
rgds,
daryl.
Tagged:
0
Answers
-Steve
I had installed the R extension once before but never got it to work successfully. I tried it again and here are my steps.
1. Installed RapidMiner
2. Installed R
3. Installed RStudio
4. Opened RStudio
5. > install.packages(c(“rJava”, “JavaGD”))
> library(rJava)
> library(JavaGD)
6. opened Terminal
7. $ cd ~/
$ touch .bash_profile
$ open -e .bash_profile
8. added the following lines to .bash_profile
export R_HOME=/Library/Frameworks/R.framework/Resources
export JAVA_HOME=$(/usr/libexec/java_home)
--- or ---
export JAVA_HOME=$(/usr/libexec/java_home -v 1.6)
9. $ . .bash_profile
10. checked my work by
$ echo $R_HOME
/Library/Frameworks/R.framework/Resources
$ echo $JAVA_HOME
/System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Home
<<<I also tried version 1.7>>>
11. started RapidMiner and the R console did not show up
12. removed the R extension
13. shut down and restarted RapidMiner
14. installed the R extension
15. went into preferences, hit the R tab
16. set the JRI library files to
/Library/Frameworks/R.framework/Versions/3.1/Resources/library/rJava/jri/libjri.jnilib
15. shut down and restarted RapidMiner
16. still no R console
sadly installing the old R extension can be a pain or simply refuse to work for some reasons. I'm afraid I don't know hot to help you with your exact problem right now, but we have been working on something which will make using R (and getting it to work in the first place) significantly easier, and it's not far away.
All I can say right now is: stay tuned for the next Studio release coming very soon
Regards,
Marco
That's good news. Thanks for the heads up.
-Steve
the new Studio release 6.4.0 is now live. I suggest downloading the all new OSX application and then searching our Marketplace for "R Scripting". This is the new extension which allows you to integrate R scripts into your process workflow without much hassle.
The old R Extension is no longer supported going forward from Studio 6.4 and will only remain for Studio 6.3 and earlier.
Regards,
Marco