[R] Intended change from version$os=='Win32' to 'mingw32' ?

ripley@stats.ox.ac.uk ripley at stats.ox.ac.uk
Tue May 28 14:56:43 CEST 2002


On Tue, 28 May 2002 ripley at stats.ox.ac.uk wrote:

> On Tue, 28 May 2002 oehl_list at gmx.de wrote:
>
> > Is it intended that version$os no longer is 'Win32' for the Windows-Compile?
>
> Yes.  It's a consequence of using autoconf 2.5x to generate config.h.
> In the wider open source world the OS is mingw32, not Windows (and it
> matters as there are other Windows-hosted subsystems, notably Cygwin, and
> other OSes that mingw32 can use, e.g. ReactOS).
>
> > What is the approbriate way to check for Windows?
>
> Use .Platform$OS.type, which is intended to check for broad classes of
> OSes.

Or use machine().

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



More information about the R-help mailing list