[R-sig-Debian] setting R_LIBS
Sebastian Luque
spluque at gmail.com
Tue Dec 6 04:20:13 CET 2005
Thanks for the quick reply!
On Mon, 5 Dec 2005 20:54:50 -0600,
Dirk Eddelbuettel <edd at debian.org> wrote:
[...]
> Do you write permissions where the default library index is written? If not,
> did you use an appropriate option to destdir ?
> | 2) when doing library("package"), I get this:
> Is that a literal "package", are do you mean this as an example?
Yes, just an example; it doesn't only occur with chron, but with every package
I've tried. I didn't specify anything for destdir, as I've never had to in the
past (they always go to /tmp/). My permissions in that library folder look ok
to me (drwxr-xr-x). Here's the whole output for the attempt to install chron
(much shorter than with other packages):
--8<---------------cut here---------------start------------->8---
R> install.packages("chron")
Warning in install.packages("chron") : argument 'lib' is missing: using ~/R/library
trying URL 'http://probability.ca/cran/src/contrib/chron_2.3-0.tar.gz'
Content type 'application/x-tar' length 27899 bytes
opened URL
==================================================
downloaded 27Kb
* Installing *source* package 'chron' ...
** libs
gcc -I/usr/lib/R/include -fPIC -g -O2 -c chron_strs.c -o chron_strs.o
gcc -I/usr/lib/R/include -fPIC -g -O2 -c init.c -o init.o
gcc -I/usr/lib/R/include -fPIC -g -O2 -c unpaste.c -o unpaste.o
gcc -shared -o chron.so chron_strs.o init.o unpaste.o -L/usr/lib/R/lib -lR
** R
** preparing package for lazy loading
** help
>>> Building/Updating help pages for package 'chron'
Formats: text html latex example
chron-internal text html latex
chron text html latex example
cut.dates text html latex example
dates text html latex example
day.of.week text html latex example
days text html latex example
hours text html latex example
is.holiday text html latex example
seq.dates text html latex example
** building package indices ...
* DONE (chron)
The downloaded packages are in
/tmp/RtmpoLM72j/downloaded_packages
Warning message:
cannot create HTML package index in: tools:::unix.packages.html(.Library)
--8<---------------cut here---------------end--------------->8---
And yes, I've tried removing and retrying several times without success. What's
weird is that running R as root and installing to the normal
/usr/local/lib/R/site-library works ok!
--
Sebastian P. Luque
More information about the R-SIG-Debian
mailing list