[R] problem when installing a R package
ligges at statistik.tu-dortmund.de
Wed Jan 2 16:00:39 CET 2013
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
> I have therefore updated Rtools 2.16 and Path variables as follow:
> 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:
> CYGWIN environment variable option "nodosfilewarning" turns off this
I'd suggest to do what this warning tells you.
> Consult the user's guide for more details about POSIX paths:
> make: Nothing to be done for `all'.
> installation dans C:/Program
> ** 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
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
> 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 at r-project.org mailing list
> PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
> and provide commented, minimal, self-contained, reproducible code.
More information about the R-help