Skip to content
Back to formatted view

Raw Message

Message-ID: <20010426073956.A16498@sonny.eddelbuettel.com>
Date: 2001-04-26T12:39:56Z
From: Dirk Eddelbuettel's Neomail account
Subject: Installing R-packages via install.package
In-Reply-To: <3AE7FE38.903B8526@psy.uni-muenchen.de>; from garbade@psy.uni-muenchen.de on Thu, Apr 26, 2001 at 12:53:44PM +0200

On Thu, Apr 26, 2001 at 12:53:44PM +0200, Sven Garbade wrote:
> 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)
> [...]

Well, that's what permissions are for. Those files are owned by root (uid 1), 
you are a user. On my systems at home and work, I always do this as root. 
Ie, open a root shell, start R and call 'update.packages()'.

> /usr/lib/R/library/MASS/). Maybe I have to change the permission of the
> above mentioned files manually and reinstall?

Uh, no. Either you are root on that machine, or you're not. In the latter case,
install into $HOME/R/library.  
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
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
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._