title: Installing PDFtotext in R
body: <p>I am trying to run the <code>PDFtotext</code> package in R.</p>
  <p><strong>When I run these commands</strong>:</p>
  <pre><code>library(tm) pdf=readPDF(control=list(text=&quot;-layout&quot;))(elem=list(uri=uri), language=&quot;en&quot;, id=&quot;idi&quot;)
  </code></pre>
  <p><strong>I get this error</strong>:</p>
  <blockquote>
  <p>Error in system2(&quot;pdftotext&quot;, c(control$text, shQuote(x), &quot;-&quot;), stdout = TRUE) : &quot;pdftotext&quot; not found</p>
  <p>In addition: Warning message: running command &quot;pdfinfo&quot; &quot;C:*****\NCLR AR 2005.pdf&quot; had status 127</p>
  </blockquote>
  <p>Does anyone know what the problem might be?</p>