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
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.zipExtract 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