[R] Installing packages

Fred J. phddas at yahoo.com
Sun Mar 7 06:04:02 CET 2004


yes, I loged in as admin. and that fixed the problem,
but when I type ?fdim I don't get the help docs, why?
even though I have all the htmls under 
C:\Program Files\R\rw1081\library\fdim\html

thanks
--- Duncan Murdoch <dmurdoch at pair.com> wrote:
> On Sat, 6 Mar 2004 13:30:25 -0800 (PST), you wrote:
> 
> >Error in int.unzip(zipname, NULL, dest) :
> destination
> >does not exist
> >
> 
> R tries to build a temporary directory to hold the
> files, and it
> sounds as though it's failing when it does that. 
> You can see the sort
> of name it is trying to use with this command:
> 
> > tempfile(,.libPaths()[1])
> [1] "F:/R/cvs/r-devel/library\\file27447"
> 
> If you don't have permission to create a directory
> with that name,
> then the command will fail.  I'd guess that's your
> problem.
> 
> The way around this is to install the library in a
> local path, instead
> of one where you don't have write access.  You can
> do this within a
> session by calling
> 
> .libPaths('c:/newpath')
> 
> and on the command line that invoked R by adding the
> argument
> "R_LIBS=c:/newpath".
> 
> Notice the use of the forward slash, not a
> backslash, in the path
> name.
> 
> Duncan Murdoch
> 
>




More information about the R-help mailing list