R-alpha: compatability functions

Thomas Lumley thomas@biostat.washington.edu
Tue, 2 Dec 1997 11:31:39 -0800 (PST)


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