title: rmd file not knitting in R Studio: 'CreateProcess' failed to run'
body: <p>I am trying to knit an Rmd file in R Studio on a Windows 7 box.  Honestly, at this point, I'm just trying to get the <em>default</em> Rmd file to knit.</p>
  
  <p>Whether I try to output to html or pdf, I get the following error:</p>
  
  <blockquote>
    <p>Error in system(paste(shQuote(pandoc_path), "--version"), intern = TRUE) :<br>
     'CreateProcess' failed to run 'C:\PROGRA~1\RStudio\bin\pandoc\pandoc.exe --version'<br>
    Calls:  ... get_pandoc_version -> with_pandoc_safe_environment -> force -> system<br>
    Execution halted</p>
  </blockquote>
  
  <p>The same error results whether I use the nice UI "knit" button or a direct <code>render()</code> command.</p>
  
  <p>Fearing that I was out of date, I have uninstalled and reinstalled both R and RStudio, so they're now at R version 3.3.2 and RStudio version 1.0.136.  The first time I created an Rmd file after the reinstallation, it asked about installing updated version of various packages.  Did that without incident, but it didn't resolve the problem.</p>
  
  <p>I've tried to explicitly load the library, which informs me that there is no such package.  If I try to install the package, I get the following message:</p>
  
  <blockquote>
    <p>Warning in install.packages :<br>
     package ‘pandoc’ is not available (for R version 3.3.2)</p>
  </blockquote>
  
  <p>The instructor pointed me to <a href="https://stackoverflow.com/questions/30487805/cannot-launch-pandoc-in-rstudio">Cannot launch pandoc in rstudio</a>.  (Nothing about the package not being available, so maybe that isn't important?)  Following those instructions, I've checked for a duplicate <code>pandoc</code> installation (both manually checking Userdata/Apps/local and a search for "pandoc" anywhere on the computer).  The only <code>pandoc</code> is in the RStudio bin, so I don't think that's the issue.</p>
  
  <p>I have also tried the two suggestions included in <a href="https://stackoverflow.com/questions/26886887/knitr-pandoc-execution-halted-in-r">Knitr pandoc Execution halted in R</a> -- namely installing MiKTeX, then installing/loading pandoc manually as outlined (along with ensuring full control permissions).  Neither fixed the problem.  (Of course, when I loaded pandoc manually, it created a duplicative <code>pandoc</code> in the system.  I therefore uninstalled that.)</p>
  
  <p>Any ideas???</p>
  
  <p>Many thanks!</p>