[R] how do I install add on packages?

Jeff D. Hamann jeff_hamann at hamanndonald.com
Tue Nov 13 06:27:26 CET 2001


Ack!

> I'm not sure why help.search() only works when yo log on as root....

'Cause I don't check the free space on the machine. FreeBSD sets the mount
point / to something like 98MB or so. When I downloaded the source and
compiled it, not thinking that I should have checked the version in the
/usr/ports(which is the same), the "disk" filled up and I couldn't write to
/ (unless I was logged on as root)? Strange... I got rid of the object
files, the available space on the disk went from -4.6MB to 45MB and he
help.search() works fine when logged in as a normal user.

And the install worked fine.

Thanks all,
Jeff.

----- Original Message -----
From: "Roger Peng" <rpeng at stat.ucla.edu>
To: "Jeff D. Hamann" <jeff_hamann at hamanndonald.com>
Cc: <r-help at stat.math.ethz.ch>
Sent: Monday, November 12, 2001 8:25 PM
Subject: Re: [R] how do I install add on packages?


> At the shell prompt (i.e. NOT in R), you should be able to type:
>
> R CMD INSTALL RMySQL_0.4-3.tar.gz
>
> and R will try to install the package in the system library directory.  If
> you don't want to (or don't have permission to) install the package in the
> system directory, you can specify a different directory with the -l flag,
> so:
>
> R CMD INSTALL -l ~/myLibs RMySQL_0.4-3.tar.gz
>
> I'm not sure why help.search() only works when yo log on as root....
>
> -roger
> _____________________________
> UCLA Department of Statistics
> rpeng at stat.ucla.edu
>
> On Mon, 12 Nov 2001, Jeff D. Hamann wrote:
>
> > I'm having some trouble installing the add on packages.
> >
> > I would like to install the RMySQL_0.4-3.tar.gz add on package. I've
> > downloaded it and unzipped the package. The INSTALL file says
> >
> > R CMD INSTALL [-l<alternate-dir>] RMySQL_<version>.tar.gz
> > does this mean in the R system enter the following?
> > > INSTALL -l /root/RMySQL_0.4-3.tar.gz    (?)
> > when I do this I get...
> > Error: couldn't find function "INSTALL"
> >
> > so I them typed help.search("install")
> >
> > and got
> >
> > remove.packages(base)
> > update.packages(base)
> > INSTALL(base)
> >
> > what's base? And why is the help.search() working when I log on as root.
It
> > doesn't work when  I log on as a regular user. I'm using FreeBSD 4.4.
> >
> > Jeff.
> >
> >
> >
> >
> > Jeff D. Hamann
> > Hamann, Donald and Associates
> > PO Box 1421
> > Corvallis, Oregon USA 97339-1421
> > Bus. 541-753-7333
> > Cell. 541-740-5988
> > jeff_hamann at hamanndonald.com
> > www.hamanndonald.com
> >
>
> -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.
-.-.-
> > r-help mailing list -- Read
http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
> > Send "info", "help", or "[un]subscribe"
> > (in the "body", not the subject !)  To: r-help-request at stat.math.ethz.ch
> >
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._.
_._
> >
>

-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info", "help", or "[un]subscribe"
(in the "body", not the subject !)  To: r-help-request at stat.math.ethz.ch
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._



More information about the R-help mailing list