R extesion for Machine Learner
-
Add the following line to /etc/apt/source.list where ${version} should be trusty or precise or utopic or lucid according to your Ubuntu release
deb http://cran.rstudio.com/bin/linux/ubuntu ${version}/
-
Authenticate
sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys E084DAB9
-
Update
sudo apt-get update
-
Install R
sudo apt-get install r-base-dev r-cran-rjava
-
Run R and install following libraries
install.packages('e1071')
install.packages('rpart')
install.packages('randomForest')
install.packages(‘pmml’)
-
Before installing the R extensions, open a terminal and set R_HOME and JRI_HOME to the root folder of R and JRI respectively.
-
Run mvn clean install