[R] Call R from Perl

Kevin E. Thorpe kevin.thorpe at utoronto.ca
Wed May 6 14:09:26 CEST 2009


Daniel Fernandez wrote:
> Hi,
> I am trying to call R in my perl program but is not working. It does not
> give an error but my program gets stuck indefinitely.
> 
> I am using the following command to call R from Perl
> 
> `R BATCH regressExpr.spl temp`;
> 
> Any suggestions?
> 
> Best,
> 
> Daniel F.
> 

Does `R CMD BATCH regressExpr.spl temp` work?


-- 
Kevin E. Thorpe
Biostatistician/Trialist, Knowledge Translation Program
Assistant Professor, Dalla Lana School of Public Health
University of Toronto
email: kevin.thorpe at utoronto.ca  Tel: 416.864.5776  Fax: 416.864.6057




More information about the R-help mailing list