Maybe you could use PDL instead of using R?
In reply to Re: Calling R script from Perl by GrandFather in thread Calling R script from Perl by snape