Skip to content
Prev 164008 / 398503 Next

quartz() and windows()

One way (from my MacPro OS X 10.5.5):

 > .Platform$OS.type
[1] "unix"

Another:

 > Sys.info()["sysname"]
  sysname
"Darwin"

The help pages say NOT to do this:
 > R.version$os
[1] "darwin9.5.0"

--  
David Winsemius
On Dec 7, 2008, at 11:17 AM, Nino Hardt wrote: