[R] Installing R-packages via install.package
M. Edward Borasky
znmeb at aracnet.com
Thu Apr 26 15:02:25 CEST 2001
I just did this last night on my Red Hat 7.1 Linux system. I can *download*
packages with my normal user logon ID, but I can't install them unless I am
"root", because the directory where the packages live is not one where I
have write privileges. On a single-user system like my laptop this is not an
issue, but on a multi-user system you will need to be a system administrator
to do installs.
Speaking of automatic downloads from CRAN, last night I noticed that there
is a new package "sma". "update.packages" didn't seem to notice that there
was a new package. Is that because the list "update.packages" looks at
didn't get updated yet, or because "update.packages" only looks to update
packages you already have?
--
M. Edward (Ed) Borasky, Chief Scientist, Borasky Research
http://www.borasky-research.net http://www.aracnet.com/~znmeb
mailto:znmeb at borasky-research.com mailto:znmeb at aracnet.com
If there's nothing to astrology, how come so many famous men were born on
holidays?
> -----Original Message-----
> From: owner-r-help at stat.math.ethz.ch
> [mailto:owner-r-help at stat.math.ethz.ch]On Behalf Of Sven Garbade
> Sent: Thursday, April 26, 2001 4:43 AM
> To: R-Help
> Subject: [R] Installing R-packages via install.package
>
>
> Hi there,
>
> I've successfully installed und updated some contributed R packages (R
> version 1.2.2 on Debian Linux, logged in as a normal user), but I'm
> wondering about this:
>
> [...]
> Could not open /usr/lib/R/doc/html/packages.html at
> /usr/lib/R/share/perl/R/Rdlists.pm line 238.
> /usr/lib/R/bin/INSTALL: /usr/lib/R/doc/html/search/index.txt: Permission
> denied
> /usr/lib/R/bin/INSTALL: LibIndex: Permission denied
> DONE (MASS)
> [...]
>
> Permissions:
> $ ls -l /usr/lib/R/library/LibIndex
> -rw-r--r-- 1 root root 410 Feb 27 23:42
> /usr/lib/R/library/LibIndex
> $ ls -l /usr/lib/R/doc/html/search/index.txt
> -rw-r--r-- 1 root root 124212 Feb 27 23:42
> /usr/lib/R/doc/html/search/index.txt
>
> It's possible to load the package with e.g.
>
> > library(MASS)
>
> but all installed contributed packages are not listed
>
> > library()
>
> Packages in library `/usr/lib/R/library':
>
> base The R base package
> ctest Classical Tests
> eda Exploratory Data Analysis
> lqs Resistant Regression and Covariance Estimation
> modreg Modern Regression: Smoothing and Local Methods
> mva Classical Multivariate Analysis
> nls Nonlinear regression
> splines Regression Spline Functions and Classes
> stepfun Step Functions, including Empirical Distributions
> tcltk Interface to Tcl/Tk
> ts Time series function
>
> The packages are in their correct location (e.g.
> /usr/lib/R/library/MASS/). Maybe I have to change the permission of the
> above mentioned files manually and reinstall?
>
> Thanks, Sven
> -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.
> -.-.-.-.-.-.-
> 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