title: Knitr pandoc Execution halted in R
body: <h2>Knitr / Rmarkdown Execution halted</h2>
  
  <p><strong>When I run Knitr and Rmarkdown, even with the knitr example scripts, I get the below error message</strong>.</p>
  
  <p><code>Error in system(paste(shQuote(pandoc_path), "--version"), intern = TRUE) : 
    '"C:/Program Files/RStudio/bin/pandoc/pandoc"' not found
  Calls: &lt;Anonymous&gt; ... get_pandoc_version -&gt; with_pandoc_safe_environment -&gt; force -&gt; system    Execution halted</code></p>
  
  <p>I have installed and loaded knitr and rmarkdown from the libraries and alternatively using dev tools to get the most recent versions from github. </p>
  
  <p>As it was working previously and <strong>I haven't changed any settings</strong>, I was wondering whether it might be due to the new R release and whether that has caused this?</p>
  
  <p>I have tried <strong>uploading pandoc</strong> to the specific location it requested in the error but the online guidance was difficult to follow so didn't move into folder just it case it made it worst, as it was not required before I was confused as to why it was an error?</p>
  
  <p>Not sure what else to try out, <strong>I have googled, stackflowed and explored knitr and pandoc webpages for any clues but with not success</strong>.</p>
  
  <p>If anyone knows how to fix this as soon as possible I would be very grateful!!</p>