oehl_list@gmx.de
2002-May-28 12:36 UTC
[R] Intended change from version$os=='Win32' to 'mingw32' ?
Is it intended that version$os no longer is 'Win32' for the Windows-Compile? What is the approbriate way to check for Windows? Best Jens Oehlschl?gel In 1.4.1 we had> version_ platform i386-pc-mingw32 arch x86 os Win32 system x86, Win32 status major 1 minor 4.1 year 2002 month 01 day 30 language R in 1.5.0 we have> version_ platform i386-pc-mingw32 arch i386 os mingw32 system i386, mingw32 status major 1 minor 5.0 year 2002 month 04 day 29 language R -- -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.- 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 _._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._
ripley@stats.ox.ac.uk
2002-May-28 12:53 UTC
[R] Intended change from version$os=='Win32' to 'mingw32' ?
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. -- 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 _._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._