title: How to specify a global path to pandoc in R rmarkdown
body: <p>I am using R rmarkdown package to render <code>.Rmd</code> file to the <code>html</code> output.
  This package is using <code>pandoc</code> to convert <code>.md</code> file to <code>html</code> as I've understood. Under my <code>CentOS</code> machine with version as below</p>
  
  <pre><code>CentOS Linux release 7.0.1406 (Core) 
  NAME="CentOS Linux"
  VERSION="7 (Core)"
  ID="centos"
  ID_LIKE="rhel fedora"
  VERSION_ID="7"
  PRETTY_NAME="CentOS Linux 7 (Core)"
  ANSI_COLOR="0;31"
  CPE_NAME="cpe:/o:centos:centos:7"
  HOME_URL="https://www.centos.org/"
  BUG_REPORT_URL="https://bugs.centos.org/"
  
  CentOS Linux release 7.0.1406 (Core) 
  CentOS Linux release 7.0.1406 (Core) 
  cpe:/o:centos:centos:7
  </code></pre>
  
  <p>I have a <code>pandoc</code> with a version </p>
  
  <pre><code>-bash-4.2$ pandoc --version
  pandoc 1.12.4.2
  </code></pre>
  
  <p>But when I run <code>rmarkdown::render()</code> function I receive such an error</p>
  
  <pre><code>Error: pandoc version 1.12.3 or higher is required and was not found.
  Execution halted
  </code></pre>
  
  <p>I think <code>R</code> is using it's local pandoc which looks like it's older that my global pandoc. Does anyone know how to specify a global path to the global <code>pandoc</code> in <code>R rmarkdown</code>  ?</p>