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
"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/