Advertisement
Guest User

Untitled

a guest
Apr 20th, 2014
58
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.53 KB | None | 0 0
  1. import org.rosuda.REngine.REXP;
  2. import org.rosuda.REngine.REXPMismatchException;
  3. import org.rosuda.REngine.Rserve.RConnection;
  4. import org.rosuda.REngine.Rserve.RserveException;
  5.  
  6. public class RServeExample1 {
  7.  
  8. public static void main(String[] args) throws RserveException, REXPMismatchException {
  9. RConnection c = new RConnection();
  10. REXP x = c.eval("R.version.string");
  11. System.out.println(x.asString());
  12. }
  13. }
  14.  
  15. <APPLET CODE=RServeExample1.class WIDTH="150" HEIGHT="25"></applet>
  16.  
  17. java.lang.reflect.InvocationTargetException
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement