[Rd] Re: make.search.html() without write permission in
R.hom e( ) (PR#6664)
Liaw, Andy
andy_liaw at merck.com
Thu Mar 11 21:34:20 MET 2004
So this is on Windows, then? This is documented somewhere (don't remember):
If the package is not located under $R_HOME/library, then the html help will
not be able to find it. Don't think there's a known work-around.
Cheers,
Andy
> From: byandell at wisc.edu
>
> I did that. In fact the default uses .libPaths()[1], which I
> have set to
> "P:/stat/yandell/public/statgen/R"
> The package installs fine. However, the HTML search is not
> done properly.
> Again, the break occurred after installation of the package, when
> make.search.html() was invoked.
> Brian
>
>
> On Thu, 11 Mar 2004, Douglas Bates wrote:
>
> > Brian Yandell <byandell at 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 at stat.wisc.edu
> > Statistics Department 608/262-2598
> > University of Wisconsin - Madison
> http://www.stat.wisc.edu/~bates/
> >
>
>
> ______________________________________________
> R-devel at stat.math.ethz.ch mailing list
> https://www.stat.math.ethz.ch/mailman/listinfo/r-devel
>
>
------------------------------------------------------------------------------
Notice: This e-mail message, together with any attachments,...{{dropped}}
More information about the R-devel
mailing list