<html>
<head>
</head>
<body>
Hi Uwe!<br>
<br>
Thanks. The key to solve this problem was the output of your tar program.<br>
I had a different tar. Setting the tools directory first &nbsp;in the path variable
solved the problem.<br>
<br>
But solving &nbsp;one problem leads to the next.<br>
now i have a file called <br>
mypackage.tar.gz generated by <br>
&gt;rcmd build mypackage<br>
But i am still working with windows 2000?<br>
I expected to find a zip file.<br>
<br>
I know that I am asking trivial questions but I want to come after a few
hours to an end.<br>
<br>
<br>
I a missing in R extension a more detailed step by step description with
some examples.<br>
To whom send proposals of change to the R extensions manual.&nbsp; I am also willing
to writ one step by step descriptin for windows 2000.<br>
<br>
Sincerely Eryk<br>
<br>
<br>
The output of tar --version is: <br>
<a class="moz-txt-link-freetext" href="C:\prog\R\rw1041\myfiles\test">C:\prog\R\rw1041\myfiles\test</a>&gt;tar --version<br>
tar: Unknown option "--version"<br>
Usage: tar -{crtux}[lpmovwzU[0-7[lmh]]] [-b blocks]<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; [-f tarfile] [-V volpattern] [file [-C pathname] ...]<br>
<br>
<br>
<br>
But for sure it is the tar that i downloaded with the tools from the cran.<br>
<br>
<br>
Uwe Ligges wrote:<br>
<blockquote type="cite" cite="mid:3CD16B92.46794235@statistik.uni-dortmund.de">
  <pre wrap=""><br>Witold Eryk Wolski wrote:<br></pre>
  <blockquote type="cite">
    <pre wrap="">Hi!<br>I encountered some things trying to build own packages under Windows<br>2000 for which i found no answer in the documentation.<br>First.<br><br>1. I do not found the rcmd.exe in the bin directory of R_HOME.<br>  I installed R using the setup.exe<br>2. I updated the R intatllation with one of the zip files. (rw1041sp.zip)<br>now i had the rcmd.exe in the bin.<br>3. I do not found any hint in the docu that perl is needed.<br>4. I even do not found any hint that there are shared modules and that i<br>can be necessary to add an<br>PERL5LIB path to the enviroment variables to use them and i still do not<br>know if it is necessary.<br><br>Anyway, after few hours and some print statements i figured out that<br>system("tar chXf $exclude $filepath $pkgname"); in the build file called<br>with<br>rcmd build<br>causes:<br><br><a class="moz-txt-link-freetext" href="C:\prog\R\rw1041\myfiles\test">C:\prog\R\rw1041\myfiles\test</a>&gt;rcmd build --use-zip masspec<br>
1<br>Its Windows MAN<br>** Options  --use-zip for --binary ignored<br>* checking for file `masspec/DESCRIPTION' ... OK<br>* preparing `masspec':<br>* cleaning src<br>its ok<br>* checking whether `INDEX' is up-to-date ... OK<br>* checking whether `data/00Index' is up-to-date ... OK<br>* removing junk files<br>* building `masspec_0.1.tar.gz'<br>something wrong!!!!!!!!!!<br>tar: Unknown option "-hXf"<br>Usage: tar -{crtux}[lpmovwzU[0-7[lmh]]] [-b blocks]<br>            [-f tarfile] [-V volpattern] [file [-C pathname] ...]<br>masspec_0.1.tar: No such file or directory<br><br>even i have the tools for windows installed.<br><br>I really want to build and install my own packages! I am out of ideas now!<br>Can anyone give me a hint?<br><br>(is there a mailing list for R-Ms Windows?)<br>Sinerely Eryk<br></pre>
    </blockquote>
    <pre wrap=""><!----><br>What does tar --version say (my version is GNU tar 1.13.19)?<br>Did you set "." in your path, the tools at first, then gcc-2.95.3 and<br>also perl-5.6.1?<br><br>Uwe<br><br></pre>
    </blockquote>
    <br>
    <pre class="moz-signature" cols="$mailwrapcol">-- 
    _ _     \|/     \|/
    &acute;v&acute;     'v&acute;     'v'
  //| |\\ //| |\\ //| |\\
----m-m-----m-m-----m-m--------w-w-----
                             \\| |//
   Eryk Witold Wolski          .^.
                               /|\
<a class="moz-txt-link-abbreviated" href="mailto:wolski@molen.mpg.de">wolski@molen.mpg.de</a>
tel      : 0049-(0)30-8413-1543
fax      : 0049-(0)30-8413-1139
mobile   : 0049-1793210931
<a class="moz-txt-link-freetext" href="http://www.molgen.mpg.de/~mass-spec">http://www.molgen.mpg.de/~mass-spec</a>
<a class="moz-txt-link-freetext" href="http://www.molgen.mpg.de/~wolski">http://www.molgen.mpg.de/~wolski</a>
</pre>
    <br>
    </body>
    </html>