Re: machine() vs .Platform$OS.type

About this list Date view Thread view Subject view Author view Other groups

Subject: Re: machine() vs .Platform$OS.type
From: Martin Maechler (maechler@stat.math.ethz.ch)
Date: Thu 16 Dec 1999 - 01:31:29 EST


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


About this list Date view Thread view Subject view Author view Other groups

This archive was generated by hypermail 2b25 : Tue 04 Jan 2000 - 14:16:11 EST