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

"R Extension doesn't work for me"

dpetdpet Member Posts: 1 Learner III
edited May 2019 in Help
I just installed the R extension, configured it according it to all steps in the "Installation Guide", and restarted. However I still can't see the new "R" perspective.  RapidMiner provides no clue what the actual issues is. Anyone an idea? I am running on a Mac ("Snow Leopard").

Dirk
Tagged:

Answers

  • landland RapidMiner Certified Analyst, RapidMiner Certified Expert, Member Posts: 2,531 Unicorn
    Hi Dirk,
    so the installation guide poped up after the restart? Then at least the java part of the extension is loaded.
    The problem must then lie in the connection to the native libraries of R. Are you sure you have met all prerequisits? Is your java directory configured correctly, path variables updated? And finally does the architecture of the used Java Runtime Enviroment match the R installation?

    If you have checked all this, please post the complete console output of RapidMiner during start up, when you start it from a console.

    Greetings,
      Sebastian
  • AliAli Member Posts: 1 Learner III
    Hi Dirk,

    have you set the R_HOME environment variable properly?

    R_HOME=/Library/Frameworks/R.framework/Versions/2.11/Resources
    works fine for me.
  • PrekoPreko Member Posts: 21 Contributor II
    I also had problems on Mac OS X Leopard. The solution was to add the following line to the RapidMinerGUI script with which I start RapidMiner:
    export R_HOME=/Library/Frameworks/R.framework/Versions/2.11/Resources

    I think this R_HOME variable is not in the Installation Guide, I just found out based on the console logs. Also the filename for the JRI is different, in my case libjri.jnilib, maybe these should be added to the guide.
  • IngoRMIngoRM Employee-RapidMiner, RapidMiner Certified Analyst, RapidMiner Certified Expert, Community Manager, RMResearcher, Member, University Professor Posts: 1,751 RM Founder
    Hi,

    thanks for pointing this out - we will add those points to the guide (Sebastian?).

    Cheers,
    Ingo
  • landland RapidMiner Certified Analyst, RapidMiner Certified Expert, Member Posts: 2,531 Unicorn
    Hi,
    actually the lib name might differ on different Operating Systems, but should be imported correctly from java automatically. Of course it's missleading, I will add these to the installation guide.

    Thank you all for this information.

    By the way:
    What are your experiences with the R Extension? Any feedback is welcome to improve it with the next versions...

    Greetings,
      Sebastian
Sign In or Register to comment.