How to install R software in ubuntu using terminal codes. I tried using sudo apt-get install R
?
Asked
Active
Viewed 1,357 times
2

Alvar
- 17,058

user264138
- 29
- 2
-
What ddid apt-get result in? Because it should work if the software is available in your software sources. So add their ppa to your sources. – Alvar Apr 01 '14 at 06:12
2 Answers
1
R
is in the universal repository, so you will need to enable that in your "Software and Updates" package. To enable that, type "software and updates" in your dash and open the application that comes up. Go to "Ubuntu software" and let there a check mark on "Community-maintained free and open-source software (universe)". Type your password, if prompted to and then close this window.
Open a terminal and type:
sudo apt-get update
sudo apt-get install r-base r-base-dev
Source: The Ubuntu R Blog

jobin
- 27,708
0
The correct command for installing R
is
sudo apt-get install r-base-core

Registered User
- 9,631
- 14
- 53
- 85