Rapidminer is a cool toy to play with machine-learning/data-mining algorithms and it can interface with R. However, it was a bit problematic for me to get the R extension working properly on Mac OS X Leopard for R 2.11. Here is what works for me at the moment:
1) get rapidminer (obviously :) )
2) install rJava and JavaGD in R through install.packages()
JavaGD is necessary so that Rapidminer R extension doesn't keep asking for a CRAN repository at the start up, also after installing JavaGD I was able to plot using R extension. Some people reported R tcltk package is also necessary. Maybe get that as well.
3) Set up the following lines at your ~/.bash_profile
export R_HOME=/Library/Frameworks/R.framework/Resources
export JAVA_HOME=/Library/Java/Home
I assume your R and Java installed in these locations.
4) At the first run of Rapidminer with R extension you will be asked to point the location of JRI dynamic-link library. Full path to mine is this:
/Library/Frameworks/R.framework/Resources/library/rJava/jri/libjri.jnilib
5) Run Rapidminer using "java -jar [RAPIDMINER_HOME]/lib/rapidminer.jar" on the terminal.
Clicking on rapidminer.jar starts the Rapidminer but then R extension doesn't work. So you have to run it through the terminal as shown above.
Hi, Thanks for your tips, this helped me get most of the way to installing the R extension, I also ran into a cryptic fatal error: Content is not allowed in prolog
ReplyDeleteFor anyone running into this error please find the solution documented here:
http://rapid-i.com/rapidforum/index.php/topic,4912.0.html
Thank you very much for clarifying the installation on OS/X. I have also bookmarked your blog. Cheers.
ReplyDeleteThanks so much. I had the hardest time finding the library
ReplyDeleteTHANKS - finally it works!!!
ReplyDeleteSeems not working any more.
ReplyDeletedetails: http://stackoverflow.com/questions/20106117/r-extension-for-rapidminer-on-mac-os-x-mavericks-10-9-r-version-3-0-2-java-versi
Deletewas working before the mavericks update?
Deletedon't know. I installed it first on Maverick.
DeleteThank you so much for sharing all this wonderful information !!!! It is so appreciated!! You have good humor in your blogs. So much helpful and easy to read!
ReplyDeleteJava Training in Noida
This comment has been removed by the author.
ReplyDeleteThis comment has been removed by the author.
ReplyDeleteThis article https://attractgroup.com/blog/how-to-develop-custom-road-safety-applications-using-ai-and-ml/ on developing custom road safety applications using AI and ML provides insightful information on how technology can be utilized to enhance safety on the roads. The integration of artificial intelligence and machine learning in such apps can lead to innovative solutions and preventive measures for accidents. It's impressive to see how advancements in technology are being leveraged to address critical issues like road safety, making the roads a safer place for all.
ReplyDelete