machine() vs .Platform$OS.type

Martin Maechler Martin Maechler <maechler@stat.math.ethz.ch>
Wed, 15 Dec 1999 16:31:29 +0100 (MET)


>>>>> On Wed, 15 Dec 1999 10:24:16 -0500, Paul Gilbert
>>>>> <pgilbert@bank-banque-canada.ca> said:

    PaulG>     o .Platform$OS.type is standardized to be `unix', `mac' or
    PaulG> `windows'

    PaulG> However, machine() still returns "Unix" rather than "unix". (I'm
    PaulG> not sure what it returns on other platforms.  Should I be
    PaulG> thinking of machine() as standardized already, or is
    PaulG> .Platform$OS.type the preferred standard way to check this?

yes.  As a matter of fact, I think  machine() should become deprecated...

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