[R] Installing R in Ubuntu

poppyer poppyer at gmail.com
Wed Aug 13 09:40:41 CEST 2008


"Shreyasee Pradhan" <shreyasee.pradhan at gmail.com> writes:

> Hi,
>
> Thanks for that.
>
> the way I tried is as follows:
> 1) Downloaded the r-base package
> 2) went in that directory where the r-base package was downloaded from
> command line
> 3) entered the command
>        sudo apt-get install r-base
> But got the error, that Couldn't find r-base command.
>
> I don't understand where I went I wrong.
> I will definitely try the following commands.

I think you probably has no "universe" repository in your
/etc/apt/source.list. all R related stuffs are in "universe"

Try to google something like source.lst generator, if you are new to
apt&source.lst 


Cheers

poppyer
>
> Thanks,
> Shreyasee
>
> On Wed, Aug 13, 2008 at 12:02 PM, Senthil Kumar M
> <senthil.debian at gmail.com>wrote:
>
>> On Tue, Aug 12, 2008 at 9:24 PM, Shreyasee Pradhan
>> <shreyasee.pradhan at gmail.com> wrote:
>> > Hi,
>> >
>> > I am running Ubuntu on my Windows OS through VMware.
>> > I am trying to install R in Ubuntu, but not getting with those commands,
>> > which are there on the site.
>> > Can anyone please tell me how to install it, stepwise, with commands to
>> be
>> > used.
>> > As I m new to Ubuntu as well, I am not aware of the commands very well.
>> <snipped>
>>
>> Hi,
>>
>> What commands did you try ? What worked and what didn't ? Which site
>> did you refer ?
>>
>> Please read the posting guidelines here:
>> http://www.r-project.org/posting-guide.html
>>
>> In the Ubuntu command line, try:
>>
>> sudo aptitude install r-base
>>
>> And for a list of R packages that you can install from the Ubuntu
>> repositories:
>>
>> aptitude search r- | grep [^A-Za-z0-9] r-
>>
>> Install them like this:
>>
>> sudo aptitude install r-cran-package-name
>>
>> HTH,
>>
>> Senthil
>>
>> -/
>>
>> "You see, but you do not observe. The distinction is clear."
>> Sir Arthur Conan Doyle in, "The Memoirs of Sherlock Holmes"
>>
>
> 	[[alternative HTML version deleted]]
>
> ______________________________________________
> R-help at r-project.org mailing list
> https://stat.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
> and provide commented, minimal, self-contained, reproducible code.



More information about the R-help mailing list