title: rmarkdown Run Chunks not working with local directory in rStudio
body: <p>I am using RStudio for development and installed last week the development version of <code>RStudio</code> (Version 1.0.34) since I wanted to play with <code>R Notebooks</code>.
  I now run into the problem, that the code chunks do not get executed related to the working directory but to the location of the markdown document. This was former common when <code>knitr</code> the document <strong>but not</strong> when executing the chunks.<br>
  I now downloaded the newest development version (1.0.44) but still the same problem.
  Is there a workaround to this problem or is this the future plan for <code>RStudio</code> and <code>rMarkdown</code>? I think this is very inconvenient when developing a document.</p>
  
  <p>I am aware of this post <a href="https://stackoverflow.com/questions/20060518/in-rstudio-rmarkdown-how-to-setwd">In RStudio/RMarkdown, how to setwd?</a> for example, but this is why I executed the chunks and not knit the whole document. It worked as expected in <code>RStudio &lt;= 1.0.0</code>.</p>