[R] Building own packages on Windows 2000!

Witold Eryk Wolski wolski at molgen.mpg.de
Thu May 2 19:24:37 CEST 2002

I encountered some things trying to build own packages under Windows
2000 for which i found no answer in the documentation.

1. I do not found the rcmd.exe in the bin directory of R_HOME.
  I installed R using the setup.exe
2. I updated the R intatllation with one of the zip files. (rw1041sp.zip)
now i had the rcmd.exe in the bin.
3. I do not found any hint in the docu that perl is needed.
4. I even do not found any hint that there are shared modules and that i
can be necessary to add an
PERL5LIB path to the enviroment variables to use them and i still do not
know if it is necessary.

Anyway, after few hours and some print statements i figured out that
system("tar chXf $exclude $filepath $pkgname"); in the build file called
rcmd build

C:\prog\R\rw1041\myfiles\test>rcmd build --use-zip masspec
Its Windows MAN
** Options  --use-zip for --binary ignored
* checking for file `masspec/DESCRIPTION' ... OK
* preparing `masspec':
* cleaning src
its ok
* checking whether `INDEX' is up-to-date ... OK
* checking whether `data/00Index' is up-to-date ... OK
* removing junk files
* building `masspec_0.1.tar.gz'
something wrong!!!!!!!!!!
tar: Unknown option "-hXf"
Usage: tar -{crtux}[lpmovwzU[0-7[lmh]]] [-b blocks]
            [-f tarfile] [-V volpattern] [file [-C pathname] ...]
masspec_0.1.tar: No such file or directory

even i have the tools for windows installed.

I really want to build and install my own packages! I am out of ideas now!
Can anyone give me a hint?

(is there a mailing list for R-Ms Windows?)
Sinerely Eryk

     _ _     \|/     \|/
     ´v´     'v´     'v'
   //| |\\ //| |\\ //| |\\
                              \\| |//
    Eryk Witold Wolski          .^.
wolski at molen.mpg.de
tel      : 0049-(0)30-8413-1543
fax      : 0049-(0)30-8413-1139
mobile   : 0049-1793210931

r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info", "help", or "[un]subscribe"
(in the "body", not the subject !)  To: r-help-request at stat.math.ethz.ch

More information about the R-help mailing list