title: Specify directory with setwd()
body: <p>I understand that in R to set my working directory I can do:</p>
  
  <pre><code>setwd("~/dir1/dir2/mydir")
  </code></pre>
  
  <p>If mydir is a unique directory name, is there way to specify the working directory without stating dir1/dir2 ?</p>
  
  <p>Thanks</p>