Re: [R] Making R packages (Unix)

2003-09-10 Thread Michael Mader
Gattuso, Jean-Pierre wrote:
 
 Hi:
 
 I have have taken over from a colleague who
 prepared an R package and failed to build it on
 Windows. I am doing this with unix as I am a mac
 user. Below is the output I get when I use the
 build command:
 
 [gattuso:unix/R/CO2.Rcheck] gattuso% R CMD build CO2
 * checking for file 'CO2/DESCRIPTION' ... OK
 * preparing 'CO2':
 * checking whether 'INDEX' is up-to-date ... NO
 * use '--force' to overwrite the existing 'INDEX'
 * removing junk files
 * building 'CO2_1.0.tar.gz'
 tar: Unable to access
 /Users/gattuso/documents/unix/R/CO2.Rcheck/CO2_1.0.tar
 No such file or directory
 tar: WARNING! These file names were not selected:
 /Users/gattuso/documents/unix/R/CO2.Rcheck/CO2_1.0.tar
 CO2_1.0.tar: No such file or directory
 
Looks like R_HOME is set to an invalid directory.

Regards 

Michael

-- 
Michael T. Mader
Institute for Bioinformatics/MIPS, GSF
Ingolstaedter Landstrasse 1
D-80937 Neuherberg
0049-89-3187-3576
 
In statistics, some people worry about not seeing the forest for the
trees.
I like to look at the bark. (C. R. Blyth, 1967)

__
[EMAIL PROTECTED] mailing list
https://www.stat.math.ethz.ch/mailman/listinfo/r-help


Re: [R] Making R packages (Unix)

2003-09-10 Thread Thomas Lumley
On Tue, 9 Sep 2003, Gattuso, Jean-Pierre wrote:

 Hi:

 I have have taken over from a colleague who
 prepared an R package and failed to build it on
 Windows. I am doing this with unix as I am a mac
 user. Below is the output I get when I use the
 build command:

This looks like what happens under Mac OS X, where tar doesn't recognise
the -X flag for eXcluding files [it's used for something else].

You can confirm by checking man tar.  I don't know if this will get fixed
for 1.8.0, but a work-around is to get GNU tar.

-thomas

 [gattuso:unix/R/CO2.Rcheck] gattuso% R CMD build CO2
 * checking for file 'CO2/DESCRIPTION' ... OK
 * preparing 'CO2':
 * checking whether 'INDEX' is up-to-date ... NO
 * use '--force' to overwrite the existing 'INDEX'
 * removing junk files
 * building 'CO2_1.0.tar.gz'
 tar: Unable to access
 /Users/gattuso/documents/unix/R/CO2.Rcheck/CO2_1.0.tar
 No such file or directory
 tar: WARNING! These file names were not selected:
 /Users/gattuso/documents/unix/R/CO2.Rcheck/CO2_1.0.tar
 CO2_1.0.tar: No such file or directory


 I have read the R-exts.pdf document but did not
 find what I do wrong. In fact, there is little
 information on the use of R CMD build, both in
 the R-exts.pdf document and the man (R CMD build
 --help) pages.

 Do I need to make the CO2_1.0.tar file myself?

 Your help would be much appreciated!

 jp
 --
 
 Jean-Pierre Gattuso | mailto:[EMAIL PROTECTED]
 | http://www.obs-vlfr.fr/~gattuso

 __
 [EMAIL PROTECTED] mailing list
 https://www.stat.math.ethz.ch/mailman/listinfo/r-help


Thomas Lumley   Assoc. Professor, Biostatistics
[EMAIL PROTECTED]   University of Washington, Seattle

__
[EMAIL PROTECTED] mailing list
https://www.stat.math.ethz.ch/mailman/listinfo/r-help