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

void org::rosuda::JRI::Rengine::assign ( String  sym,
String  ct 
) [inline]

assign a string value to a symbol in R. The symbol is created if it doesn't exist already.

Parameters:
sym symbol name. The symbol name is used as-is, i.e. as if it was quoted in R code (for example assigning to "foo$bar" has the same effect as `foo$bar`<- and NOT foo$bar<-).
ct contents
Since:
JRI 0.3

Definition at line 653 of file Rengine.java.

References rniAssign(), and rniPutString().

Referenced by assign().

                                              {
            long x1 = rniPutString(ct);
            rniAssign(sym,x1,0);
    }


Generated by  Doxygen 1.6.0   Back to index