Hello,
        I have some code which generates lattice objects. The function  
recieves serialized forms of the lattice objects which it then  
unserializes and then adds to an ArrayList<REXP>.
        
        REXPRaw rser = new REXPRaw( target );  //target contains the raw  
serialized forms of lattice objects
        rconn.assign("temp",rser);
        REXP ret = rconn.eval("invisible(unserialize(temp))"); (1)
        rexpArr.add(ret);
        RList rlist = new RList(rexpArr);
        REXPList rl = new REXPList(rlist);

        The problem is when I do an assign

        rconn.assign("finalresult",rl);

        whence I get
        *** REXPFactory unable to interpret  
[EMAIL PROTECTED] *
        ** REXPFactory unable to interpret  
[EMAIL PROTECTED]
        *** REXPFactory unable to interpret  
[EMAIL PROTECTED]
        *** REXPFactory unable to interpret  
[EMAIL PROTECTED]
        *** REXPFactory unable to interpret  
[EMAIL PROTECTED] *
        ** REXPFactory unable to interpret  
[EMAIL PROTECTED]


        How can I in general,force the unserialize to return a list?
Saptarshi Guha | [EMAIL PROTECTED] | http://www.stat.purdue.edu/~sguha
Marijuana is nature's way of saying, "Hi!".


        [[alternative HTML version deleted]]

______________________________________________
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.

Reply via email to