|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.rosuda.REngine.REXPWrapper
public class REXPWrapper
Utility class to wrap an Object into a REXP object. This facilitates wrapping native java objects and arrays into REXP objects that can be pushed to R
| Constructor Summary | |
|---|---|
REXPWrapper()
|
|
| Method Summary | |
|---|---|
static REXP |
wrap(java.lang.Object o)
Wraps an Object into a REXP Conversion : Byte (byte) : REXPRaw Short (short) : REXPInteger Integer (int) : REXPInteger Long (long) : REXPInteger Float (float) : REXPDouble Double (double) : REXPDouble Boolean (boolean) : REXPLogical -- String : REXPString String[] : REXPString -- byte[] or Byte[] : REXPRaw short[] or Short[] : REXPInteger int[] or Integer[] : REXPInteger long[] or Long[] : REXPInteger float[] or Float[] : REXPDouble double[] or Double[] : REXPDouble boolean[] or Boolean[]: REXPLogical -- null for anything else |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public REXPWrapper()
| Method Detail |
|---|
public static REXP wrap(java.lang.Object o)
Conversion :
o - object to wrap
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||