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
"RapidMiner fails to initialize R-Perspective"
Hi all,
I have been using RapidMiner for a while now and decided to give the new R-Extension a go.
I followed all instructions and cannot get to run properly.
I tried different version of R 2.11 and R2.12 (both with rJava) all with RapidMiner 5.0.010, but never get to see the new R-Perspective.
I am running RM as a 32bit version and R 2.11 / R2.12also as a 32-bit version.
OS is Vista 32-bit.
All the environment variables were set according to the instructions and R is also running, when I am using it on its own.
I copied the logs from the RM start-up in (just in case they provide some more clues) and it points out that a class cannot be found (org/fife/ui/rtextarea/RTextArea) that is obviously used for initialising the R-Perspective.
Please find all the logs below. It would be great if someone could provide some help for that case.
Thanks very much in advance and all the best,
gusr
EDIT: 04/12/2010 - I took the startup log out as there were no comments on it.
I have been using RapidMiner for a while now and decided to give the new R-Extension a go.
I followed all instructions and cannot get to run properly.
I tried different version of R 2.11 and R2.12 (both with rJava) all with RapidMiner 5.0.010, but never get to see the new R-Perspective.
I am running RM as a 32bit version and R 2.11 / R2.12also as a 32-bit version.
OS is Vista 32-bit.
All the environment variables were set according to the instructions and R is also running, when I am using it on its own.
I copied the logs from the RM start-up in (just in case they provide some more clues) and it points out that a class cannot be found (org/fife/ui/rtextarea/RTextArea) that is obviously used for initialising the R-Perspective.
Please find all the logs below. It would be great if someone could provide some help for that case.
Thanks very much in advance and all the best,
gusr
EDIT: 04/12/2010 - I took the startup log out as there were no comments on it.
Tagged:
0
Answers
I tried a clean install of R and RM again, but still the same problem. I was wondering if anyone else experienced it as well?
Here is just the exception that is thrown for the com.rapidminer.PluginInitR.initGui
Any help is really much appreciated.
All the best,
gusr
Just to provide an update on the problem I experienced, while trying to get the R-Extension running. I still have the same problem on the 32-bit system.
So, I gave it a try on another machine today. Installed a brand new Win7 64 bit on it. Installed all the required software R + Plugins, RM, etc. I do not get the same error, but after installing the R extension and specifying the path to the jri.dll, RM starts up, but then just closes immediately when it tries to initialize the GUI. Running it over the console option results in a never ending process that tries to start RM, then fails (Intializing GUI) and starts all over again - continuously.
I would really like to give the new extension a try and I post all the paths and variables here. I would really appreciate it if you could be so kind to let me know if you spot an error or I did something wrong.
Thanks,
gusr
Config-Line from "5_0_11_rapidminerrc.Windows 7" PATH JAVA_HOME R_HOME PS: I just tried the both R-Extension Version 5.0.1 and 5.0.2 and got the same behavior.
The %R_HOME% was set to the subdirectory pointing at the architecture. I trimmed the path to and everything seems to work fine. Must have been the problem on the other system as well.
Sorry for the confusion. Can't wait to get started now...
gusr
Greetings,
Sebastian
Hey hi,
I have set the all required variable as suggested by you.
But not getting RConsole Window. Is there any other settings required for this?
I m using RM 5.0 and R2.11.1 (both 32bit).
Thanks n Regards,
Nilam
then you probably have set your paths wrongly. Please double check for typos and if you are really using the exactly same version of R and if it is really installed where you think it is installed.
Greetings,
Sebastian
Hi Sebastings,
R Extension for R-2.11 (32 bit) worked properly. But nw according to systems requirements i hav installed R-2.12 (32/64 bit) n i m using R-2.12 32 bit. Its working fine.
I hav installed rapid miner5.1 32 bit. For R Extension i hav stored following environment variables,
JAVA_HOME : C:\Program Files (x86)\Java\jdk1.6.0_18\;C:\Program Files (x86)\Rapid-I\RapidMiner5\jre\bin\;
path : C:\Program Files (x86)\Java\jre6\bin\client\;C:\Program Files (x86)\Rapid-I\RapidMiner5\jre\;
R_HOME : C:\Program Files\R\R-2.12.0\bin\i386\;
rapidminer.r.native_lib : C:\Program Files\R\R-2.12.0\library\rJava\jri\jri.dll;
while opening rapidminer, its saying found library "C:\Program Files\R\R-2.12.0\library\rJava\jri\jri.dll" and after loading rapidminer it says can't load jri.dll since dependent libraries not found , n not getting R Console.
i even tried to set rapidminer.r.native_lib : C:\Program Files\R\R-2.12.0\library\rJava\jri\i386\jri.dll;
bt problem remains the same.
Thanks and Regards,
Nilam
yes, because the R directory containing R.dll is not in the path. Please read the install instructions carefully.
Greetings,
Sebastian
I am trying to install the R extensions but it is not working.
The following error is shown when RapidMiner is trying to load the dynamic library "jri.DLL":
"The local binary library ..... could not be loaded.
Reason: Native library is already loaded in another class loader"
Any hints why this happened?
Thank you in advance,
Gladys
Finally.
1) R_HOME wants to be R's home directory, e.g. \Programs\R\R-2.15.2 (not the \Programs\R\R-2.15.2\bin\<arch> stated in the instructions)
2) The instructions hint that you might be getting the wrong jri.dll, but the error message is clear if you fall into this trap. The thing that's not obvious is that R's default installation of rJava puts a 32-bit version of jri.dll at (on my machine) \Programs\R\R-2.15.2\library\rJava\jri\jri.dll If you're trying to run a 64-bit installation, you need to delete that file (there's another copy of it in the i386 subdirectory) and copy the jri.dll from the x64 subdirectory into the enclosing jri directory.
Those are the ONLY places where the installation instructions are off the mark (for a 64-bit install) of the R-extension.