sudo apt-get install r-base
start
type R on terminal
http://edtechdev.wordpress.com/2007/08/08/getting-r-set-up-in-ubuntu/