<html>
<head>
</head>
<body>
Dear Duncan!<br>
I will if i will be able to build a simple package without any C or F code
on my computer running Windows 2000.<br>
But i am not. And im going more and more frustrated. <br>
<br>
I went so far:<br>
1. I generated a skeleton using the function:<br>
package.skeleton()<br>
<br>
After that I edited a little the file R Description and called thinking that
now the html documents will be generated the install.packages function.<br>
<br>
install.packages(<a class="moz-txt-link-rfc2396E" href="c:/prog/r/rw1041/myfiles/test/masspec">"c:/prog/r/rw1041/myfiles/test/masspec"</a>,CRAN=NULL)<br>
updating HTML package descriptions<br>
Warning message: <br>
argument `lib' is missing: using <a class="moz-txt-link-freetext" href="C:/prog/R/rw1041/library">C:/prog/R/rw1041/library</a> in: install.packages(<a class="moz-txt-link-rfc2396E" href="c:/prog/r/rw1041/myfiles/test/masspec">"c:/prog/r/rw1041/myfiles/test/masspec"</a>,
CRAN = NULL) <br>
<br>
<br>
But than i got this.<br>
<br>
&gt; library(masspec)<br>
Error in library(masspec) : There is no package called `masspec'<br>
<br>
With rcmd install <br>
i passed the build process.<br>
but the install fails.<br>
<br>
<a class="moz-txt-link-freetext" href="C:\prog\R\rw1041\library">C:\prog\R\rw1041\library</a>&gt;rcmd install masspec<br>
<br>
make: Entering directory `/cygdrive/c/prog/r/rw1041/src/gnuwin32'<br>
make DLLNM= \<br>
&nbsp; -C <a class="moz-txt-link-freetext" href="C:/prog/R/rw1041/library/masspec">C:/prog/R/rw1041/library/masspec</a> PKG=masspec RHOME=<a class="moz-txt-link-freetext" href="c:/prog/r/rw1041">c:/prog/r/rw1041</a>
RLIB=<a class="moz-txt-link-freetext" href="c:/prog/r/rw1041/library">c:/prog/r/rw1041/library</a> \<br>
&nbsp; -f <a class="moz-txt-link-freetext" href="c:/prog/r/rw1041/src/gnuwin32/MakePkg">c:/prog/r/rw1041/src/gnuwin32/MakePkg</a><br>
make: Entering an unknown directory<br>
make: *** <a class="moz-txt-link-freetext" href="C:/prog/R/rw1041/library/masspec:">C:/prog/R/rw1041/library/masspec:</a> No such file or directory.&nbsp; Stop.<br>
make: Leaving an unknown directory<br>
make: *** [pkg-masspec] Error 2<br>
make: Leaving directory `/cygdrive/c/prog/r/rw1041/src/gnuwin32'<br>
*** Installation of masspec failed ***<br>
<br>
I have no C or F code included in my functions!!!<br>
<br>
I am really frustrated now. Any help appreciated.<br>
I can't believe that such a basic functionality as building a package has
to be so complicated. Therefore i am quite sure i have overseen some really
simple thing.<br>
<br>
Sincerely.<br>
Eryk<br>
<br>
Duncan Murdoch wrote:<br>
<blockquote type="cite" cite="mid:vvt4du490gntf3gjjpfn9ab0o6t9m69hms@4ax.com">
  <blockquote type="cite">
    <pre wrap="">I a missing in R extension a more detailed step by step description with=20<br>some examples.<br>To whom send proposals of change to the R extensions manual.  I am also=20<br>willing to writ one step by step descriptin for windows 2000.<br></pre>
    </blockquote>
    <pre wrap=""><!----><br><br>If you would like to draft a detailed section on building packages<br>under windows, that would be great.  Once you're done, please email it<br>to me (as I'm currently the Windows maintainer); I'll put it (or<br>something based on it) into R-exts or elsewhere as appropriate.<br><br>By the way, once all the tools are set up properly, the easiest way to<br>build a .zip of your package is<br><br>  Rcmd build --binary sourcedir<br><br>The --use-zip options have to do with compressing files within the<br>installation, not compressing the whole installation.<br><br>Duncan Murdoch<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>             o
tel      : 0049-(0)30-8413-1543 o
fax      : 0049-(0)30-8413-1139 o
mobile   : 0049-1793210931      o
<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>
                             __\o/__  
                               </pre>
    <br>
    </body>
    </html>