Skip to content

problems with library in 1.7.1

2 messages · R Heberto Ghezzo, Dr, Brian Ripley

#
Hello.
I am using R 1.7.1 just downloaded on Win98. With the old 1.6.2 I had
modified the etc/Rprofile file as

etc/Rprofile
# Things you might want to change
# options(width=80)
# options(papersize="a4")
# options(editor="notepad")
# options(pager="internal")
# to prefer Compiled HTML help
options(chmhelp=TRUE)
# to prefer HTML help
# options(htmlhelp=TRUE)
# to prefer Windows help
# options(winhelp=TRUE)

.lib.loc <- c("c:/R/R_cran/library","c:/R/R_w/library",.Library)
------------------
and it normally worked well, calling library() gives me a list of all
packages in the 3 sites
but in R 1.7.1 on Win98
[1] "c:/R/R_cran/library" "c:/R/R_w/library"    "C:/R/RW1071/library"
[1] "C:/R/RW1071/library"
only lists C:/R/RW1071/library
same result, does not add the other libraries

if I return Rprofile to its original and instead create and
Renviron.site as in the FAQ

etc/Renviron.site
R_LIBS = C:/R_CRAN/Library;C:/R_W/Library
[1] "C:/R/RW1071/library"
In addition: Warning messages:
1: list.files: C:/R_CRAN/Library is not a readable directory
2: list.files: C:/R_W/Library is not a readable directory
Well I used them before, what should I do now to make them readable?
Thanks for any help

Heberto Ghezzo
Meakins-Christie Labs
Montreal  Qc  Canada
#
Direct use of .lib.loc was deprecated in 1.6.0.  Use .libPaths() instead.

.Library is looked for package:base, and your assigning a copy in 
.GlobalEnv will make no difference.
On Thu, 26 Jun 2003, R. Heberto Ghezzo wrote:

            
You didn't spell them that way before: I am not sure if that makes a 
difference?