title: How to get current working directory in R?
body: <ol>
  <li><p>How to get current working dir?
  I guess there should be a command like getcwd(), however, I can't find something like this in the documens. </p></li>
  <li><p>How to change to another dir?</p></li>
  <li><p>How to set default working dir when I start R?</p>
  
  <p>version
                 _<br>
  platform       x86_64-w64-mingw32<br>
  arch           x86_64<br>
  os             mingw32<br>
  system         x86_64, mingw32<br>
  status<br>
  major          3<br>
  minor          1.0<br>
  year           2014<br>
  month          04<br>
  day            10<br>
  svn rev        65387<br>
  language       R<br>
  version.string R version 3.1.0 (2014-04-10)
  nickname       Spring Dance    </p></li>
  </ol>
  
  <p>Thanks!</p>