addressalign-toparrow-leftarrow-rightbackbellblockcalendarcameraccwcheckchevron-downchevron-leftchevron-rightchevron-small-downchevron-small-leftchevron-small-rightchevron-small-upchevron-upcircle-with-checkcircle-with-crosscircle-with-pluscontroller-playcredit-cardcrossdots-three-verticaleditemptyheartexporteye-with-lineeyefacebookfolderfullheartglobe--smallglobegmailgooglegroupshelp-with-circleimageimagesinstagramFill 1launch-new-window--smalllight-bulblinklocation-pinm-swarmSearchmailmessagesminusmoremuplabelShape 3 + Rectangle 1ShapeoutlookpersonJoin Group on CardStartprice-ribbonprintShapeShapeShapeShapeImported LayersImported LayersImported Layersshieldstartickettrashtriangle-downtriangle-uptwitteruserwarningyahoo

Chicago R User Group (Chicago RUG, CRUG) Data and Statistics Message Board › java connect R with Rserve and client problem

java connect R with Rserve and client problem

A former member
Post #: 1
HI everyone;

i use java to connect R with Rserve. my code is the following:

RConnection c = new RConnection();

c.voidEval("d <- data.frame(time=c(\"1990-01-02\"­,\"1990-01-03\",\"1990-01­-04\"),price=c(2434.1,2463.7,2451.6­))");

c.voidEval("ftse100.r <- mk.returns(d)");

but i meet this problem and i can not fix it

Exception in thread "main" org.rosuda.REngine.Rserve.RserveExceptio­n: voidEval failed, request status: error code: 127
at org.rosuda.REngine.Rserve.RConnection.vo­idEval(
at org.domain.javar.session.Qrmlib.main(Qrm­

i know the "c.voidEval("ftse100.r <- mk.returns(d)");" hava problem,but i can not find the problem.

anyone can help me ? thank you in advance

Powered by mvnForum

Our Sponsors

  • IBM

    Support for food, drinks, and meeting spaces.

  • Microsoft R Open

    Supports us with meeting space and food for events.

  • R Consortium

    Provides financial support for the Chicago R User Group.

People in this
Meetup are also in:

Sign up

Meetup members, Log in

By clicking "Sign up" or "Sign up using Facebook", you confirm that you accept our Terms of Service & Privacy Policy