Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

I tried aptitude search r, but (unsurprisingly), there are waaaay too many results to sift through.

share|improve this question
    
When you do get it installed, bash is case sensitive. You can launch it with R but not r –  Amanda Nov 26 '12 at 20:01
add comment

2 Answers 2

up vote 5 down vote accepted

This is merely a tip: Open synaptic, and search for r-cran or just r-, there's a r-recommended GNU R collection of recommended packages [metapackage] I believe this is the one you're looking for.

share|improve this answer
    
Good tip, I actually don't have synaptic install and, in keeping with linux culture, I tend to forget that graphical apps are sometimes very useful =) –  blz May 12 '12 at 22:23
1  
apt-cache search ^r-, really ? ;) –  user55822 May 12 '12 at 23:32
add comment

The name of the package for R is r-base-core.

Whenever you know the exact name of a program that is not installed, you can just try to type it in the terminal as if it was installed. The terminal will give you feedback if it knows of a package that has the program that you typed in.

This is what you get when you type R at the command line:

The program 'R' is currently not installed. You can install it by typing: sudo apt-get install r-base-core

In this case, you can just copy the command into the terminal and just run it.
Sometimes the terminal will tell you this if you just mistyped something, so you can ignore it in those cases.

I just installed the package, just to make sure. It seems to have required 96 MB of my hard drive.

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.