[R] FW: Creating a Package with Windows XP.

Uwe Ligges ligges at statistik.uni-dortmund.de
Tue Sep 2 15:53:15 CEST 2003


Wayne Jones wrote:

>>Hi there fellow R-Users, 
>>
>>I am trying to use the "package.skeleton" to create my own package with
>>R.1.7.1 on Windows XP Professional.
>>I have followed the package.skeleton example and have downloaded the
>>necessary files found at http://www.stats.ox.ac.uk/pub/Rtools/tools.zip.
>>
>>and perl5, available via http://www.activestate.com/Products/ActivePerl/.
>>
>>When I run the command "Rcmd BUILD AnExample" I get the following output
>>and error message: 
>>
>>
>>C:\Program Files\R\rw1071\bin>Rcmd BUILD AnExample
>>* checking for file 'AnExample/DESCRIPTION' ... OK
>>* preparing 'AnExample':
>>* cleaning src
>>* checking whether 'INDEX' is up-to-date ... OK
>>* checking whether 'data/00Index' is up-to-date ... OK
>>* removing junk files
>>* building 'AnExample_1.0.tar.gz'
>>tar: Files/R/rw1071/bin/AnExample_1.0.tar: Cannot stat: No such file or
>>director
>>y
>>tar: Error exit delayed from previous errors
>>AnExample_1.0.tar: No such file or directory
>>

Do not use blanks in your paths ("Program Files").

Uwe Ligges


>>Whaen I run Rcmd check AnExample I get the following error message
>>
>>C:\Program Files\R\rw1071\bin>Rcmd check AnExample
>>* checking for working latex ...latex: not found
>> NO
>>* using log directory 'C:/Program Files/R/rw1071/bin/AnExample.Rcheck'
>>* checking for file 'AnExample/DESCRIPTION' ... OK
>>* checking if this is a source package ... ERROR
>>Only *source* packages can be checked.
>>
>>
>>What am I doing wrong??
>>Any help would be much appreciated, 
>>
>>Regards,
>>
>>Wayne
>>
>>
>>
>>
>>Dr Wayne R. Jones
>>Statistician / Research Analyst
>>KSS Group plc
>>St James's Buildings
>>79 Oxford Street
>>Manchester M1 6SS
>>Tel: +44(0)161 609 4084
>>Mob: +44(0)7810 523 713
>>
>>
> 
> 
> 
> KSS Ltd
> Seventh Floor  St James's Buildings  79 Oxford Street  Manchester  M1 6SS  England
> Company Registration Number 2800886
> Tel: +44 (0) 161 228 0040	Fax: +44 (0) 161 236 6305
> mailto:kssg at kssg.com		http://www.kssg.com
> 
> 
> The information in this Internet email is confidential and m...{{dropped}}
> 
> ______________________________________________
> R-help at stat.math.ethz.ch mailing list
> https://www.stat.math.ethz.ch/mailman/listinfo/r-help




More information about the R-help mailing list