From thomas@biostat.washington.edu  Tue Dec  2 19:31:39 1997
From: thomas@biostat.washington.edu (Thomas Lumley)
Date: Tue, 2 Dec 1997 11:31:39 -0800 (PST)
Subject: R-alpha: compatability functions
In-Reply-To: <97Dec2.142228est.26688@mailgate.bank-banque-canada.ca>
Message-ID: <Pine.SUN.3.95.971202113056.15243B-100000@chekov>

On Tue, 2 Dec 1997, Paul Gilbert wrote:
> 
> 2/ In S it is fairly easy to get information to define functions like
> is.Linux(), is.Sun5(), but most of the time I just want to be able to use
> is.unix().  I have two approaches, neither of which I like. One is to default to
> unix if I don't identify Windows, and the other is to identify all the different
> types of unix and then "or" them. Can anyone suggest a better way to define
> is.unix() in S.
> 

Doesn't  
	exists("unix") 
work?
	-thomas

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


R-alpha: compatability functions
Thomas Lumley