bates@stat.wisc.edu
2004-Mar-11 18:37 UTC
[Rd] Re: make.search.html() without write permission in R.home() (PR#6663)
Brian Yandell <byandell@wisc.edu> writes:> Folks, > I am working on a Windows system which is part of the UW-Madison > statistics LAN. R is maintained on a file system to which I cannot write. > I tried installing a package and got the following interplay:Set the lib argument to install.packages to a directory in which you do have write permissions. From ?install.packages ... install.packages(pkgs, lib, CRAN = getOption("CRAN"), contriburl = contrib.url(CRAN), method, available = NULL, destdir = NULL, installWithVers = FALSE) ... lib,instlib: character string giving the library directory where to install the packages.> > > install.packages(choose.files('',filters=Filters[c('zip','All'),]), > .libPaths()[1], CRAN = NULL) > updating HTML package descriptions > Error in file(f.tg, open = "w") : unable to open connection > In addition: Warning messages: > 1: cannot update HTML package index in: make.packages.html(lib.loc) > 2: cannot open file `W:\unsup\R\i386_win2k/doc/html/search/index.txt' > > link.html.help() > Error in file(f.tg, open = "w") : unable to open connection > In addition: Warning messages: > 1: cannot update HTML package index in: make.packages.html(lib.loc) > 2: cannot open file `W:\unsup\R\i386_win2k/doc/html/search/index.txt' > > .libPaths() > [1] "P:/stat/yandell/public/statgen/R" "W:/unsup/R/i386_win2k/library" > > Sys.getenv("R_LIBS") > R_LIBS > "P:\\stat\\yandell\\public\\statgen\\R" > > This broke in make.search.html(), where it tried to overwrite the search > file > W:\unsup\R\i386_win2k/doc/html/search/index.txt > which was generated from > file.path(R.home(), "doc/html/search/index.txt") > > My library loaded fine, and the flat file help works fine, but there are > no HTML info on my local libraryies in the R_LIBS area. I have no idea how > hardwired .../search/index.txt is into various R routines. > > Thanks, > Brian-- Douglas Bates bates@stat.wisc.edu Statistics Department 608/262-2598 University of Wisconsin - Madison http://www.stat.wisc.edu/~bates/
Prof Brian Ripley
2004-Mar-12 12:31 UTC
[Rd] Re: make.search.html() without write permission in R.home() (PR#6663)
We'll fix the error message (it has been fixed once before, but it must have got broken in another fix), but see the rw-FAQ. Your private library area will not show up in the HTML search index even if you had write permission: that index is only for the main library (used in the correct sense). We need better information to be able to understand (let alone fix) the final part. On Thu, 11 Mar 2004 bates@stat.wisc.edu wrote:> Brian Yandell <byandell@wisc.edu> writes: > > > Folks, > > I am working on a Windows system which is part of the UW-Madison > > statistics LAN. R is maintained on a file system to which I cannot write. > > I tried installing a package and got the following interplay: > > Set the lib argument to install.packages to a directory in which you > do have write permissions. From ?install.packages > ... > install.packages(pkgs, lib, CRAN = getOption("CRAN"), > contriburl = contrib.url(CRAN), > method, available = NULL, destdir = NULL, > installWithVers = FALSE) > ... > > lib,instlib: character string giving the library directory where to > install the packages. > > > > > > install.packages(choose.files('',filters=Filters[c('zip','All'),]), > > .libPaths()[1], CRAN = NULL) > > updating HTML package descriptions > > Error in file(f.tg, open = "w") : unable to open connection > > In addition: Warning messages: > > 1: cannot update HTML package index in: make.packages.html(lib.loc) > > 2: cannot open file `W:\unsup\R\i386_win2k/doc/html/search/index.txt' > > > link.html.help() > > Error in file(f.tg, open = "w") : unable to open connection > > In addition: Warning messages: > > 1: cannot update HTML package index in: make.packages.html(lib.loc) > > 2: cannot open file `W:\unsup\R\i386_win2k/doc/html/search/index.txt' > > > .libPaths() > > [1] "P:/stat/yandell/public/statgen/R" "W:/unsup/R/i386_win2k/library" > > > Sys.getenv("R_LIBS") > > R_LIBS > > "P:\\stat\\yandell\\public\\statgen\\R" > > > > This broke in make.search.html(), where it tried to overwrite the search > > file > > W:\unsup\R\i386_win2k/doc/html/search/index.txt > > which was generated from > > file.path(R.home(), "doc/html/search/index.txt") > > > > My library loaded fine, and the flat file help works fine, but there are > > no HTML info on my local libraryies in the R_LIBS area.There should be, if you mean *packages*. What exactly does not work?> I have no idea how > > hardwired .../search/index.txt is into various R routines. > > > > Thanks, > > Brian > >-- Brian D. Ripley, ripley@stats.ox.ac.uk Professor of Applied Statistics, http://www.stats.ox.ac.uk/~ripley/ University of Oxford, Tel: +44 1865 272861 (self) 1 South Parks Road, +44 1865 272866 (PA) Oxford OX1 3TG, UK Fax: +44 1865 272595
Seemingly Similar Threads
- Re: make.search.html() without write permission in R.hom e( ) (PR#6664)
- Re: make.search.html() without write permission in R.home() (PR#6664)
- make.search.html() without write permission in R.home() (PR#6662)
- core dump on 0.64.2 SPARC/Solaris 2.6 in eigen (PR#223)
- Library hdarray