Logo Search packages:      
Sourcecode: rserve version File versions  Download package

void org::rosuda::JRclient::Rconnection::voidEval ( String  cmd  )  throws RSrvException [inline]

evaluates the given command, but does not fetch the result (useful for assignment operations)

cmd command/expression string
true if successful

Definition at line 170 of file Rconnection.java.

References org::rosuda::JRclient::Rpacket::isOk(), and org::rosuda::JRclient::Rtalk::request().

            if (!connected || rt==null)
                  throw new RSrvException(this,"Not connected");
            Rpacket rp=rt.request(Rtalk.CMD_voidEval,cmd+"\n");
            if (rp!=null && rp.isOk()) return;
        throw new RSrvException(this,"voidEval failed",rp);

Generated by  Doxygen 1.6.0   Back to index