[R] Building own packages on Windows 2000!

Liaw, Andy andy_liaw at merck.com
Thu May 2 19:40:09 CEST 2002


At install time, you need to select "source package installation files".
Then read the `readme.packages' file, which tells you what you'll need,
which explicitly includes Perl.

Andy

> -----Original Message-----
> From: Witold Eryk Wolski [mailto:wolski at molgen.mpg.de]
> Sent: Thursday, May 02, 2002 1:09 PM
> To: r-help at stat.math.ethz.ch
> Subject: [R] Building own packages on Windows 2000!
> 
> 
> Hi!
> I encountered some things trying to build own packages under Windows 
> 2000 for which i found no answer in the documentation.
> First.
> 
> 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 ours and some print statements i figured out that
> system("tar chXf $exclude $filepath $pkgname"); in the build 
> file called 
> with
> rcmd build
> causes:
> 
> C:\prog\R\rw1041\myfiles\test>rcmd build --use-zip masspec
> 1
> 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'
>   //| |\\ //| |\\ //| |\\
> ----m-m-----m-m-----m-m--------w-w-----
>                              \\| |//
>    Eryk Witold Wolski          .^.
>                                /|\
> wolski at molen.mpg.de
> tel      : 0049-(0)30-8413-1543
> fax      : 0049-(0)30-8413-1139
> mobile   : 0049-1793210931
> http://www.molgen.mpg.de/~mass-spec
> http://www.molgen.mpg.de/~wolski
> 
> 
> -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.
> -.-.-.-.-.-.-.-.-
> 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
> _._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._.
> _._._._._._._._._
> 

------------------------------------------------------------------------------
Notice: This e-mail message, together with any attachments, contains information of Merck & Co., Inc. (Whitehouse Station, New Jersey, USA) that may be confidential, proprietary copyrighted and/or legally privileged, and is intended solely for the use of the individual or entity named on this message. If you are not the intended recipient, and have received this message in error, please immediately return this by e-mail and then delete it.

==============================================================================

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