title: perl not found R
body: <p>I am trying to call a perl script in R using the system command<br>
  This is what I tried:    </p>
  
  <pre><code>system("perl R/BEMSER.pl -f R/fasta.txt -m R/matrix.txt -o R/result.txt -tu 100 -tl -100 -c", intern=F)   
  </code></pre>
  
  <p>I get the following error message:</p>
  
  <pre><code>Warning message:
  In system("perl R/BEMSER.pl -f R/fasta.txt -m R/matrix.txt -o R/result.txt -tu 100 -tl -100 -c",  :
    perl not found
  </code></pre>
  
  <p>The command inside the <code>system</code> call works in the command line (giving parameters to the perl script, the files perl should use are in a special folder called "R"), perl is of course installed.
  What can I do to call the perl script from R?</p>