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

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




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.



More information about the R-devel mailing list