Possible Duplicates:
detecting operating system in R (e.g. for adaptive .Rprofile files)
How can I determine in R what platform I'm running on?
Is there a primitive function in R that will return information about the system on which R is running? I am concerned primarily with the OS, but any other data could be helpful.