Login  Register

Re: IJ & R?

Posted by Gabriel Landini on Jul 20, 2007; 9:39am
URL: http://imagej.273.s1.nabble.com/IJ-R-tp3698793p3698795.html

On Friday 20 July 2007 08:35:13 Thomas Boudier wrote:
> 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

That is great. Thank you.
Is there any way of getting R results back into IJ? Or it is only a one way
route?

Cheers,

Gabriel