I was a bit
skeptical about writing this post due to the scarcity of content, but anyhow
you know what I chose.
So, installing R
on Ubuntu is all about the following two steps:
sudo apt-get install r-base
sudo apt-get install littler
|
To check you installation, type-in “R” in your terminal, which should open an R shell. Here you can try installing a package for example:
> install.packages("randomForest")
or
>
install.packages("stringr")
|
If all worked
fine, your machine has got R correctly installed. The same way you can install
R on a CentOS machine using the following commands:
sudo yum install r-base
sudo yum install littler
|
Rest follow the same steps.
Hope this small
piece of information is helpful to some of you.
No comments:
Post a Comment