Rscript on ubuntu

jkjk picture jkjk · Nov 5, 2011 · Viewed 12.4k times · Source

Where can I install Rscript from? I need to run an R script from a php file using exec. However I need to install Rscript first.

Answer

Johnsyweb picture Johnsyweb · Nov 5, 2011

The main package for R is called r-base. For the scripting and command-line front-end see littler (or r-cran-littler in xenial (16.04LTS) and beyond):

sudo apt-get install littler