On Mon, 19 Jun 2000, Agus Salim wrote:
> Dear all,
>
> I want to know if there is an equivalence command for
> R CMD build under windows? if there isn't such a thing?
> how could I make a release file (.tar.gz file) using
> windows OS?
There isn't such a thing. (See `Writing R Extensions' end of section
1.3,
which says so explicitly.)
You cannot make a .tar.gz file using the Windows OS, as that does not
come with tar or gzip! You may be able to do it with addons, such
as the tools.zip which we supply for building R
(http://www.stats.ox.ac.uk/pub/Rtools/). Making is quite easy.
If you have version x.y-z of `mypkg' is rw1xxx/src/library, cd to
that directory and use
tar cvf mypkg_x.y-z.tar mypkg
gzip mypkg_x.y-z.tar
Testing is essentially impossible, as part of the testing is that
you can install on Unix (`Writing R Extensions' section 1.4).
This has not been an issue, as thus far no package developer has
not also had access to Unix/Linux versions of R. (Both Guido and I
have both Windows NT and Linux on the machines we use to work on R.)
Until recently the shells available under Windows were just not reliable
enough for this sort of thing (they are barely reliable enough to build R).
I do intend to look again at build fairly soon: of the procedures
in section 1.4 of `Writing R Extensions' there are already analogues of
points 2. and 3. (and as I said, point 1. is impossible but installing on
Windows is a fair surrogate).
--
Brian D. Ripley, ripley at stats.ox.ac.uk
Professor of Applied Statistics, http://www.stats.ox.ac.uk/~ripley/
University of Oxford, Tel: +44 1865 272861 (self)
1 South Parks Road, +44 1865 272860 (secr)
Oxford OX1 3TG, UK Fax: +44 1865 272595
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
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
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._