Due to recent updates, all users are required to create an Altair One account to login to the RapidMiner community. Click the Register button to create your account using the same email that you have previously used to login to the RapidMiner community. This will ensure that any previously created content will be synced to your Altair One account. Once you login, you will be asked to provide a username that identifies you to other Community users. Email us at Community with questions.
"Execute R Script --
I am trying to run some basic Kernel Density Estimation (KDE) using RpaidMiner's Execute R Script operator.
Unfortunately neither the kde() nor density() functions work in the execute script operator. They give the following error:
"In getDependencies(pkgs, dependencies, available, lib) : package 'mlr' is not available"
Strangely, in the R perspective everything works as expected. What is the execute R script operator doing to cause this error. I don't even try to import the mlr package in my code. ???
This is the site to the mlr package: http://mlr.r-forge.r-project.org/
Their install command
UPDATE: Ok I solved this problem. It turns out the MLR site is very badly organized for my eyes. I finally found the download link for the MRL library. https://r-forge.r-project.org/bin/windows/contrib/latest/mlr_0.3.1206.zip
Extract the zip and place the mlr folder into your ../R/library/ directory.
I also placed the mlr folder in C:\Users\username\.RapidMiner5\rLibPath just in case. ;D
This still begs the question, why is RM calling MLR without being packaged with it?
Thanks,
-Gagi
Unfortunately neither the kde() nor density() functions work in the execute script operator. They give the following error:
"In getDependencies(pkgs, dependencies, available, lib) : package 'mlr' is not available"
Strangely, in the R perspective everything works as expected. What is the execute R script operator doing to cause this error. I don't even try to import the mlr package in my code. ???
This is the site to the mlr package: http://mlr.r-forge.r-project.org/
Their install command
install.packages("mlr",repos="http://R-Forge.R-project.org")does not work.
UPDATE: Ok I solved this problem. It turns out the MLR site is very badly organized for my eyes. I finally found the download link for the MRL library. https://r-forge.r-project.org/bin/windows/contrib/latest/mlr_0.3.1206.zip
Extract the zip and place the mlr folder into your ../R/library/ directory.
I also placed the mlr folder in C:\Users\username\.RapidMiner5\rLibPath just in case. ;D
This still begs the question, why is RM calling MLR without being packaged with it?
Thanks,
-Gagi
Tagged:
0
Answers
actually it should download MLR automatically. We use MLR to get a common interface to the classification and regression methods of R. I have to check why the download fails.
Greetings,
Sebastian
---------------
I googled the package name from Gagi's message and found this website:
http://www.statistik.uni-dortmund.de/~bischl/win/