Re: IJ & R?

Posted by Thomas Boudier on
URL: http://imagej.273.s1.nabble.com/IJ-R-tp3698793p3698794.html

Hi Gabriel,

I have tested launching R scripts from ImageJ, here is how to do it :

String cmd = ""R CMD BATCH path_to_your_R_script.R"
Process p = Runtime.getRuntime().exec(cmd);

That should work

Thomas

Gabriel Landini a écrit :
> Hi,
> Does anybody have any experience in calling R (the stats language
> http://www.r-project.org/ ) from within ImageJ?
>
> Thanks,
>
> Gabriel
>
>

--
/*****************************************************/
     Thomas Boudier, MCU Université Paris 6,
     UMR 7101 / IFR 83. Bat A 328, Jussieu.
     Tel : 01 44 27 35 78  Fax : 01 44 27 25 08
/****************************************************/