[R] no write access for help files

Uwe Ligges ligges at statistik.tu-dortmund.de
Thu Feb 4 16:55:11 CET 2010



On 04.02.2010 13:12, Albert-Jan Roskam wrote:
> 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 athttp://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


So you have been successful in installing the package!


> 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'

That's just a warning that the overview html page of packages could not 
be updated. That's not a dramatic drawback if you know yourself that the 
package exists in your installation. Package related help pages are 
installed, though.



> Does anybody know a solution for this, other than upgrading R? Thanks in advance!

You should upgrade R even for other reasons.

Best wishes,
Uwe Ligges


> *) Don't ask me why my IT dept. didn't upgrade yet, I couldn't tell you even at gunpoint. ;-)
>
> Cheers!!
> Albert-Jan



More information about the R-help mailing list