title: How can I determine in R what platform I'm running on?
body: <blockquote>
    <p><strong>Possible Duplicate:</strong><br>
    <a href="https://stackoverflow.com/questions/2096473/r-determine-if-a-script-is-running-in-windows-or-linux">R: determine if a script is running in Windows or Linux</a>  </p>
  </blockquote>
  
  
  
  <p>How can an R script determine what platform it's running on? I'm using R 2.10.1, sometimes on Windows, sometimes on Linux. I would prefer a built-in function over filesystem taxonomy. I've already searched the index of the base package for anything with "os" or "platform" in the description — no dice there, alas.</p>