On 02.01.2013 13:06, pmouilhade wrote:
Hello all and happy new year !!!

I had a package that worked fine but since I switched to R 2.15.2, It is not
compatible anymore (I have the error message: not installed for
'arch=i386').

I have therefore updated Rtools 2.16 and Path variables as follow:
PATH=C:\Rtools\bin;C:\Perl\bin;C\Rtools\MinGW\bin;C:\PROGRA~1\R\R-2.15.2\bin\i38
6;C:\PROGRA~1\R\R-2.15.2\include;C:\PROGRA~1\MIKTEX~2.9\miktex\bin;C:\WINDOWS;C:
\WINDOWS\system32;C:\Rtools\gcc-4.6.3\bin;C:\Rtools\gcc-4.6.3\bin32

When I run the following cmd I have an error
C:\tmp>R CMD INSTALL --build DistributionS4


* installing to library 'C:/Program Files/R/R-2.15.2/library'
* installing *source* package 'DistributionS4' ...
** libs
cygwin warning:
   MS-DOS style path detected: C:/PROGRA~1/R/R-2.15.2/etc/i386/Makeconf
   Preferred POSIX equivalent is:
/cygdrive/c/PROGRA~1/R/R-2.15.2/etc/i386/Makeco
nf
   CYGWIN environment variable option "nodosfilewarning" turns off this
warning.

I'd suggest to do what this warning tells you.


   Consult the user's guide for more details about POSIX paths:
     http://cygwin.com/cygwin-ug-net/using.html#using-pathnames
make: Nothing to be done for `all'.
installation dans C:/Program
Files/R/R-2.15.2/library/DistributionS4/libs/i386
** R
** preparing package for lazy loading
** help
*** installing help indices
** building package indices
*** testing if installed package can be loaded
Fatal error: cannot open file 'C:\DOCUME~1\p-mouilhade\Local': Permission
denied*

Not sure what this directory is about and why it is accessed, but you could check if you have some permission problems in that folder.

You can turn off the checks for loading to get an installation for testing purposes, see
R CMD INSTALL --help

Best,
Uwe Ligges



ERREUR : loading failed
* removing 'C:/Program Files/R/R-2.15.2/library/DistributionS4'
* restoring previous 'C:/Program Files/R/R-2.15.2/library/DistributionS4'

I don't know what's going on, why permission is denied and why is it trying
to reach such a directory (which by the way exists).

Can somebody help me ???

Many thanks in advance





--
View this message in context: 
http://r.789695.n4.nabble.com/problem-when-installing-a-R-package-tp4654404.html
Sent from the R help mailing list archive at Nabble.com.

______________________________________________
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.


______________________________________________
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.

Reply via email to