From Martin Maechler <maechler@stat.math.ethz.ch>  Wed Dec 15 15:31:29 1999
From: Martin Maechler <maechler@stat.math.ethz.ch> (Martin Maechler)
Date: Wed, 15 Dec 1999 16:31:29 +0100 (MET)
Subject: machine() vs .Platform$OS.type
In-Reply-To: <3857B2A0.B04268E5@bank-banque-canada.ca>
References: <3857B2A0.B04268E5@bank-banque-canada.ca>
Message-ID: <14423.46161.90031.373773@gargle.gargle.HOWL>

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


machine() vs .Platform$OS.type
Martin Maechler