1

I am trying to call a perl script in R using the system command
This is what I tried:

system("perl R/BEMSER.pl -f R/fasta.txt -m R/matrix.txt -o R/result.txt -tu 100 -tl -100 -c", intern=F)   

I get the following error message:

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

The command inside the system 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?

MaxS
  • 978
  • 3
  • 17
  • 34

0 Answers0