you have to put Rtools in your path! This has been recently discussed on the list (two or three days ago).

Assuming that you have downloaded Rtools from: http://www.murdoch-sutherland.com/Rtools and you have extracted them at, e.g., C:\Rtools do the following:

control panel -> system -> advanced -> environment variables -> system variables -> path -> edit

and add this: C:\Rtools\bin;

I hope it helps.

Best,
Dimitris

----
Dimitris Rizopoulos
Ph.D. Student
Biostatistical Centre
School of Public Health
Catholic University of Leuven

Address: Kapucijnenvoer 35, Leuven, Belgium
Tel: +32/16/336899
Fax: +32/16/337015
Web: http://www.med.kuleuven.ac.be/biostat/
    http://www.student.kuleuven.ac.be/~m0390867/dimitris.htm


----- Original Message ----- From: "nishan" <[EMAIL PROTECTED]>
To: <[email protected]>
Sent: Thursday, February 17, 2005 10:30 AM
Subject: [R] package bulding in windows.



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,

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]]

______________________________________________
[email protected] mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html



______________________________________________ [email protected] mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html

Reply via email to