From ggrothendieck at gmail.com  Fri Sep  7 22:03:52 2007
From: ggrothendieck at gmail.com (Gabor Grothendieck)
Date: Fri, 7 Sep 2007 16:03:52 -0400
Subject: [Rd] Rcmd install on Vista
Message-ID: <971536df0709071303x5e9c53eex18f8d4608e5e501a@mail.gmail.com>

Has anyone successfully used Rcmd install or Rcmd check on
Windows Vista?  I have been successfully been running R itself,
just not Rcmd install and Rcmd check.

Rcmd check fails, the Ryacas.Rcheck it creates is
read-only, I don't have permission to delete it and I have
to reset the permissions on it just to delete it.

With Rcmd install I am getting the following which looks like I
am running into permissions problems and, of course, these also
show up in Rcmd check.

I had installed R into C:\Program Files\R\R-2.6.0 and my library
location is in C:/Users/... as seen below.

I found I had to set tmpdir and R_LIBS appropriately to run Rcmd
check and install to even get this far.

----------- Making package Ryacas ------------
   adding build stamp to DESCRIPTION
   installing R files
   installing demos
   installing inst files
find: C:/Users/ggroth/Documents/R/win-library/2.6/Ryacas/doc: Permission denied
find: C:/Users/ggroth/Documents/R/win-library/2.6/Ryacas/yacdir:
Permission denied
...
make[2]: *** [C:/Users/ggroth/Documents/R/win-library/2.6/Ryacas/inst] Error 1
make[1]: *** [all] Error 2
make: *** [pkg-Ryacas] Error 2
*** installation of Ryacas failed ***

Removing 'C:/Users/ggroth/Documents/R/win-library/2.6/Ryacas'
Can't read C:/Users/ggroth/Documents/R/win-library/2.6/Ryacas/doc:
Invalid argument at C:\PROGRA~1\R\R-26~1.0/bin/install line 434
Can't remove directory
C:/Users/ggroth/Documents/R/win-library/2.6/Ryacas/doc: Directory not
empty at C:\PROGRA~1\R\R-26~1.0/bin/install line 434
... and additionl similar lines ...



[Rd] Rcmd install on Vista
Gabor Grothendieck