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

From: Vladimir Eremeev <>
Date: Wed, 19 Sep 2007 07:28:23 -0700 (PDT)

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 ":".

View this message in context:
Sent from the R devel mailing list archive at

______________________________________________ mailing list
Received on Wed 19 Sep 2007 - 14:32:42 GMT

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.2.0, at Wed 19 Sep 2007 - 18:41:23 GMT.

Mailing list information is available at Please read the posting guide before posting to the list.