Hi,

If you download a package to your harddrive for installation you need to use the dpkg command like:

1) Download pacakge (foo.deb)
2) Go to the directory
3) dpkg -i foo.deb

But I would advise against this because it is better to use repositories so R get updated automatically. The standard ubuntu repositories have old versions of R, see http://cran.r-project.org/bin/linux/ubuntu/ for a description of how to add the CRAN repositories for the latest version of R. You can also install a lot of R packages from this repository, doing this also ensures that they are automatically updated.

cheers and hth,

Paul

Shreyasee Pradhan wrote:
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.

Thanks,
Shreyasee

On Wed, Aug 13, 2008 at 12:02 PM, Senthil Kumar M
<[EMAIL PROTECTED]>wrote:

On Tue, Aug 12, 2008 at 9:24 PM, Shreyasee Pradhan
<[EMAIL PROTECTED]> 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@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.


--
Drs. Paul Hiemstra
Department of Physical Geography
Faculty of Geosciences
University of Utrecht
Heidelberglaan 2
P.O. Box 80.115
3508 TC Utrecht
Phone:  +31302535773
Fax:    +31302531145
http://intamap.geo.uu.nl/~paul

______________________________________________
R-help@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.

Reply via email to