[R] package bulding in windows.

Uwe Ligges ligges at statistik.uni-dortmund.de
Thu Feb 17 11:03:50 CET 2005


nishan wrote:

> Hello everyone.
> 
> I am using R 2.0.1 in windows XP sp2 and I want to create a package. 
> 
> I get the following errors when I run these commands at the dos prompt.
> Please help.
> 
> Thanks.
> NIshan
> 
>  
> 
>  
> 
> F:\Program Files\R\rw2001\bin>Rcmd build f:\testingskeke
> 
> * checking for file 'f:\testingskeke/DESCRIPTION' ... OK
> 
> * preparing 'f:\testingskeke':
> 
> * cleaning src
> 
> * removing junk files
> 
> * building 'testingskeke_1.0.tar.gz'
> 
> 'sh' is not recognized as an internal or external command,

So you don't have the tools in your path. Please read the R for Windows 
FAQ and the docs cited therein how to install packages under Windows.

Uwe Ligges




> operable program or batch file.
> 
> 'sh' is not recognized as an internal or external command,
> 
> operable program or batch file.
> 
> Error: cannot open file 'testingskeke/DESCRIPTION' for reading
> 
>  
> 
> F:\Program Files\R\rw2001\bin>
> 
>  
> 
>  
> 
> F:\Program Files\R\rw2001\bin>Rcmd check f:\testingskeke
> 
> * checking for working latex ...'sh' is not recognized as an internal or
> external command,
> 
> operable program or batch file.
> 
>  NO
> 
> * using log directory 'F:/Program Files/R/rw2001/bin/testingskeke.Rcheck'
> 
> * checking for file 'testingskeke/DESCRIPTION' ... OK
> 
> * checking if this is a source package ... OK
> 
>  
> 
> 'sh' is not recognized as an internal or external command,
> 
> operable program or batch file.
> 
>  ERROR
> 
> Installation failed.
> 
>  
> 
> F:\Program Files\R\rw2001\bin>
> 
>  
> 
>  
> 
> 
> 	[[alternative HTML version deleted]]
> 
> ______________________________________________
> R-help at stat.math.ethz.ch mailing list
> https://stat.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html




More information about the R-help mailing list