From wl2776 at gmail.com  Wed Sep 19 16:28:23 2007
From: wl2776 at gmail.com (Vladimir Eremeev)
Date: Wed, 19 Sep 2007 07:28:23 -0700 (PDT)
Subject: [Rd] How to test if R is running on a Mac
In-Reply-To: <F189E18BBAA8B6479F618B9044CF4E9C0188517825@owa.bfro.uni-lj.si>
References: <F189E18BBAA8B6479F618B9044CF4E9C0188517825@owa.bfro.uni-lj.si>
Message-ID: <12778663.post@talk.nabble.com>



Gregor Gorjanc-2 wrote:
> 
> Hi!
> 
> Is there any way to test if R is running on a Mac? I usually use
> value of .Platform$OS.type for windows or unix, but Mac falls in the
> latter group.
> 
> Thanks, Gregor
> 

What is in .Platform$path.sep?
Windows has ";", unix has ":".
Mac?
-- 
View this message in context: http://www.nabble.com/How-to-test-if-R-is-running-on-a-Mac-tf4481121.html#a12778663
Sent from the R devel mailing list archive at Nabble.com.



[Rd] How to test if R is running on a Mac
Vladimir Eremeev