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

Vladimir Eremeev wl2776 at gmail.com
Wed Sep 19 16:28:23 CEST 2007



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.



More information about the R-devel mailing list