Testing for platform type

ripley@stats.ox.ac.uk ripley@stats.ox.ac.uk
Thu, 27 Jun 2002 14:21:42 +0100 (BST)

The recommended way to test for a platform type is via .Platform$OS.type.
machine() has provided equivalent information, but will be deprecated in

Using R.Version()$os == "Win32" does not work as the OS name is subject to
change, and is never `Win32' in R 1.5.x, where autoconf was used to make
the config.h file.

Brian D. Ripley,                  ripley@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-devel 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-devel-request@stat.math.ethz.ch