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. ;-) Cheers!! Albert-Jan ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In the face of ambiguity, refuse the temptation to guess. ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [[alternative HTML version deleted]]
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 checkedSo 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
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