How to install the R language interpreter? What is the package name? I have tried R, rlang, Rlang, rproject etc. but nothing works - neither apt-get nor Ubuntu Software center found R. Is it possible to not included R in the official Ubuntu repositories?
Package you are asking of is r-base. So run the following command:
and you will have R in your system. Years ago I was also confused by this - such package name is stupid indeed.
The package you want is r-base .
If you need to build R packages from source, you also need r-base-dev . (Most users probably don't need this.)
That's likely all you need to do.
Getting newer versions of R
The version of R probably your Ubuntu release's official software sources is likely sufficient. Assuming that's the case, you needn't read any further (except perhaps for entertainment).
But if you want/need the latest version, choose a CRAN mirror from the list. The do one of the following:
Add the signing key for the CRAN repositories (you can verify it here):
If that fails, this way may work:
To activate the new software sources configuration, run:
Then to install (or upgrade to) the version of R for CRAN:
(You can install
Further reading / source cited:
For more details and information about other supporting packages available for installation on Ubuntu systems, see "UBUNTU PACKAGES FOR R".
Edit: It is included in the Ubuntu repositories, but they want you to install from theirs.