[R] Building own packages on Windows 2000!

Uwe Ligges ligges at statistik.uni-dortmund.de
Thu May 2 21:26:05 CEST 2002


Witold Eryk Wolski wrote:
> 
> Hi Uwe!
> 
> Thanks. The key to solve this problem was the output of your tar
> program.
> I had a different tar. Setting the tools directory first  in the path
> variable solved the problem.
> 
> But solving  one problem leads to the next.
> now i have a file called
> mypackage.tar.gz generated by
> >rcmd build mypackage
> But i am still working with windows 2000?
> I expected to find a zip file.

You can install the package with
 Rcmd INSTALL package.tar.gz
which compiles the sources, builds the help files etc.

After that you'll find the package installed in 
...\rw1050\library\packagename
Now you can build a *.zip file containing that particular directory with
any zip tool.


> I know that I am asking trivial questions but I want to come after a
> few hours to an end.
> 
> I a missing in R extension a more detailed step by step description
> with some examples.
> To whom send proposals of change to the R extensions manual.  I am
> also willing to writ one step by step descriptin for windows 2000.

I think the right people got your mail now ...

 
> Sincerely Eryk
> 
> The output of tar --version is:
> C:\prog\R\rw1041\myfiles\test>tar --version
> tar: Unknown option "--version"
> Usage: tar -{crtux}[lpmovwzU[0-7[lmh]]] [-b blocks]
>            [-f tarfile] [-V volpattern] [file [-C pathname] ...]
> 
> But for sure it is the tar that i downloaded with the tools from the
> cran.

Well, my tar is a few weeks old, but it reports its version with tar
--version on WinNT and WinXP. Are your really sure about executing the
right one?

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