[R] Problems with Rcmd install package

Duncan Murdoch murdoch at stats.uwo.ca
Sat Dec 12 01:31:48 CET 2009


On 11/12/2009 1:34 PM, Keshk, Omar wrote:
> Dear all
>  
> I have tried several times to make and install an R package that i created. However, whenever i get to the last step and try to install the package i get the following error:
>  
> C:\Rtools\bin>rcmd install "C:\program files\R\R-2.9.2\bin\Test_1.0.tar.gz"
> Can't open perl script "C:\PROGRA~1\R\R-29~1.2/bin/install": No such file or directory

The name of the command is INSTALL, not install.  In earlier versions of 
R it was an external command and case-insensitive file systems would 
accept install, but in recent versions it is internal, and R is 
case-sensitive.

Duncan Murdoch

>  
> i have re installed and double checked everything and downloaded everything i can about how to intall
> r packages. 
>  
> My conclusion is that the problem is in the path that the perl script is looking for 
> on the web it says that dos path can be abbreviated using ~1, however what does not make sense
> is the R-29~1.2
> the version of R i am running is R-2.9.2 and there is a folder by that name etc..
> i do not undertand why it says abbreviated R-29~1.2.
> Is this the problem and how do i correct it.
>  
> many thanks
> Omar
>  
> 
> 	[[alternative HTML version deleted]]
> 
> ______________________________________________
> R-help at 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.




More information about the R-help mailing list