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

From: Vladimir Eremeev <wl2776_at_gmail.com>
Date: Wed, 19 Sep 2007 07:29:23 -0700 (PDT)

Vladimir Eremeev wrote:

> 
> 
> 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?
> 

And what is in .Platform$file.sep?
-- 
View this message in context: http://www.nabble.com/How-to-test-if-R-is-running-on-a-Mac-tf4481121.html#a12778683
Sent from the R devel mailing list archive at Nabble.com.

______________________________________________
R-devel_at_r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-devel
Received on Wed 19 Sep 2007 - 14:30:45 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 - 14:41:04 GMT.

Mailing list information is available at https://stat.ethz.ch/mailman/listinfo/r-devel. Please read the posting guide before posting to the list.