Posted by
Neil Fazel on
Nov 19, 2014; 10:02pm
URL: http://imagej.273.s1.nabble.com/access-R-from-ImageJ-macro-tp5010490p5010559.html
Hi Bio7,
Thank you for this information. Since I would like to call R from within ImageJ, your suggestion to use Rserve from ImageJ could work. To try it, I downloaded Rserve_Example.java and tried to compile. Apparently it's missing the REngine package. Do you know how I could get this to work on a Mac?
Thanks,
Neil
/Applications/ImageJ/plugins/Downloaded/Rserve_Example.java:9: package org.rosuda.REngine does not exist
import org.rosuda.REngine.REXPMismatchException;
^
/Applications/ImageJ/plugins/Downloaded/Rserve_Example.java:10: package org.rosuda.REngine.Rserve does not exist
import org.rosuda.REngine.Rserve.RConnection;
^
/Applications/ImageJ/plugins/Downloaded/Rserve_Example.java:11: package org.rosuda.REngine.Rserve does not exist
import org.rosuda.REngine.Rserve.RserveException;
^
/Applications/ImageJ/plugins/Downloaded/Rserve_Example.java:27: cannot find symbol
symbol : class RConnection
location: class Rserve_Example
RConnection c = new RConnection();
^
/Applications/ImageJ/plugins/Downloaded/Rserve_Example.java:27: cannot find symbol
symbol : class RConnection
location: class Rserve_Example
RConnection c = new RConnection();
^
/Applications/ImageJ/plugins/Downloaded/Rserve_Example.java:34: cannot find symbol
symbol : class REXPMismatchException
location: class Rserve_Example
} catch (REXPMismatchException e) {
^
/Applications/ImageJ/plugins/Downloaded/Rserve_Example.java:38: cannot find symbol
symbol : class RserveException
location: class Rserve_Example
} catch (RserveException e) {
^
7 errors
--
ImageJ mailing list:
http://imagej.nih.gov/ij/list.html