in reply to Calling R in perl
Here are some older nodes that may contain useful bits:
using R from Perl
Passing parameters to R script