title: risks of using setwd() in a script?
body: <p>I've heard it said that it is bad practice to use <code>setwd()</code> in a script.   </p>
  
  <ul>
  <li>What are the risks/dangers associated with it?  </li>
  <li>What are better alternatives?</li>
  </ul>