"R Extension doesn't work for me"

dpet
dpet New Altair Community Member
edited November 5 in Community Q&A
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

Answers

  • land
    land New Altair Community Member
    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
  • alex_stepper
    alex_stepper New Altair Community Member
    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.
  • Preko
    Preko New Altair Community Member
    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.
  • IngoRM
    IngoRM New Altair Community Member
    Hi,

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

    Cheers,
    Ingo
  • land
    land New Altair Community Member
    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