RapidMiner can't find R_HOME env

yakitoyakito Member Posts: 22 Contributor II
edited November 2018 in Help
Hello,

I am trying to install the R extension under RapidMiner 5.3 but even after following all the steps I can't make it work.

When I go to the logs I find out the following error:
[Fatal Error] :1:1: Premature end of file.
R_HOME is not set. Please set all required environment variables before running this program.
Unable to start R
Jul 15, 2013 5:01:57 PM com.rapidminer.tools.r.JRIRSession initializeEngine
SEVERE: Could not initialize R via JRI. Reason: Unable to initialize R
Jul 15, 2013 5:01:57 PM com.rapidminer.gui.r.RConsole <init>
SEVERE: Could not acquire connection to R: Could not initiate session with native R. Try using server. Reason: Could not initialize R via JRI. Reason: Unable to initialize R
Jul 15, 2013 5:01:57 PM com.rapidminer.PluginInitR initGui
SEVERE: Could not acquire connection to R. Could not load Console.
Even though that when I type env on my command line (I am using OS x) I see my line for R_HOME=/Library/Frameworks/R.framework/Resources

Does anyone have any tip on why RM won't be reading my env variables?

Thanks in advance!

Answers

  • MariusHelfMariusHelf RapidMiner Certified Expert, Member Posts: 1,869 Unicorn
    How did you set your environment variables? Did you try to run RapidMiner from the very same console where you checked the R_HOME variable?

    Best regards,
    Marius
Sign In or Register to comment.