title: Parent directory in R
body: <p>How do I get the path to parent directory in R?
  I have to write an R script that takes input from a directory in the parent directory and outputs data into another directory in the parent folder. So, if I could find path to parent folder, then I could do this.</p>