R is a programming language and free software environment for statistical computing and graphics supported by the R Foundation for Statistical Computing. Sample exersies of R Programming for Machine learning for training an developmeny There are two ways to install R in Ubuntu. One is through the terminal, and the other is through the Ubuntu Software Center.
Through Terminal
Press Ctrl+Alt+T to open Terminal
Then execute sudo apt-get update
After that, sudo apt-get install r-base