My Ubuntu version is 14.04(Trusty).
From here.
Install R
Get the CRAN mirrors list from here.
Add the following lines to the end of “/etc/apt/sources.list” file:
1 | ## Add R. |
- Run commands below to install R.
1 | sudo apt-get update |
Done.
Install the “RWeka” package
From here.
- Add the following line in your “.bashrc” file:
1 | # THe content of this line depends on your Java installation path. |
Start R
You can start with “sudo” to install the package in the system level library directory, otherwise it will be install on your home directory.
Run the command below:
1 | install.packages("RWeka") |