[R] no write access for help files

Duncan Murdoch murdoch at stats.uwo.ca
Thu Feb 4 18:35:36 CET 2010


On 04/02/2010 7:12 AM, Albert-Jan Roskam wrote:
> Hi 
>  
> I'm using R v2.8 under Windows*) and I'm trying to install a new package (local zip file), but I get the message below. I followed some advice at http://cran.r-project.org/bin/windows/base/rw-FAQ.html (4.2 onwards), but to no avail. How can I tell R to save the help files to an alternative location? I don't have write access to the default location.
>  
> > utils:::menuInstallLocal()
> package 'hwriter' successfully unpacked and MD5 sums checked
> updating HTML package descriptions
> Warning message:
> In file.create(f.tg) :
>   cannot create file 'C:\PROGRA~1\R\R-28~1.0/doc/html/packages.html', reason 'Permission denied'
> > 
>
> Does anybody know a solution for this, other than upgrading R? Thanks in advance!
>  
> *) Don't ask me why my IT dept. didn't upgrade yet, I couldn't tell you even at gunpoint. ;-)

See ?.libPaths.

Duncan Murdoch



More information about the R-help mailing list