Here is a solution for the posted problem.
Under the Spanish version of Windows 7, inside Windows Explorer, the
directory where R is installed appears as
C:\Archivos de programa\R\R-3.1.0\bin\x64
If you wish to compile a personal libary, this suggests you should
extend the search path by changing the environmental
variable PATH to Path=C:\Archivos de
programa\R\R-3.1.0\bin\x64;C:\windows;C:etc......
However, the real name of the directory is not "Archivos de programa"
but "Program files", this will become evident if
you open a DOS window on C:\
So if you change the environmental variable PATH to Path=C:\Program
files\R\R-3.1.0\bin\x64;C:\windows;C:etc......
then the problem is over and RCMD INSTALL MyPackages installs MyPackages
without the error message
In normalizePath(path.expand(path), winslash, mustWork) :
path[1]="c:/ARCHIV~1/R/R-31~1.0/library": Acceso denegado
Jan.
On 02/07/2014 0:12, Jan Graffelman wrote:
Using RCMD INSTALL with R-version 3.1.0 under a Spanish Windows 7
gives the following error message:
rcmd INSTALL MyPackages
Mensajes de aviso perdidos
In normalizePath(path.expand(path), winslash, mustWork) :
path[1]="c:/ARCHIV~1/R/R-31~1.0/library": Acceso denegado C
Mensajes de aviso perdidos
package "methods" in options("defaultPackages") was not found
Durante la inicialización - Mensajes de aviso perdidos
1: package 'datasets' in options("defaultPackages") was not found
2: package 'utils' in options("defaultPackages") was not found
3: package 'grDevices' in options("defaultPackages") was not found
4: package 'graphics' in options("defaultPackages") was not found
5: package 'stats' in options("defaultPackages") was not found
6: package 'methods' in options("defaultPackages") was not found
Error en normalizePath(path.expand(path), winslash, mustWork) :
path[1]="c:/ARCHIV~1/R/R-31~1.0/library/tools": Acceso denegado
Calls: ::: ... tryCatch -> tryCatchList -> tryCatchOne -> <Anonymous>
Ejecución interrumpida
The user running this command has all permissions to modify the
directory C:\Program Files\R\R-3.1.0\library, as is also clear from the
fact that installing a package by install.packages() works.
Any suggestions are welcome.
Jan.
--
Jan Graffelman
Dpt. of Statistics and Operations Research
Universitat Politècnica de Catalunya
Av. Diagonal 647, 6th floor
08028 Barcelona, Spain
email: jan.graffel...@upc.edu
web: http://www-eio.upc.es/~jan
tel: +34-93-4011739
fax: +34-93-4016575
______________________________________________
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.