Hello,
	With reference to the problem below, I have narrowed it down to  
trellis objects containing language objects , e.g a trellis object has  
a list element called $prepanel.default which is a function.
	The same happens if assign the result of an 'dist' call since it  
contains as one of its attributes the calling function (as a language).
	The error returned by Rserve (latest version) is "Error: unsupported  
type 0"
	So if the result of an eval is a language block, then it can't be  
assigned?
	Is there a work around this?
	Regards
	Saptarshi
	R.version = 2.8

>
> On Nov 30, 2008, at 5:53 PM, Saptarshi Guha wrote:
>
>> 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  
>> org.rosuda.REngine.REXPUnknown@1629ce8c[4] *
>> 	** REXPFactory unable to interpret  
>> org.rosuda.REngine.REXPUnknown@1629ce8c[4]
>> 	*** REXPFactory unable to interpret  
>> org.rosuda.REngine.REXPUnknown@1629ce8c[4]
>> 	*** REXPFactory unable to interpret  
>> org.rosuda.REngine.REXPUnknown@1629ce8c[4]
>> 	*** REXPFactory unable to interpret  
>> org.rosuda.REngine.REXPUnknown@1629ce8c[4] *
>> 	** REXPFactory unable to interpret  
>> org.rosuda.REngine.REXPUnknown@1629ce8c[4]
>>
>>
>> 	How can I in general,force the unserialize to return a list?
>> Saptarshi Guha | saptarshi.guha@gmail.com | http://www.stat.purdue.edu/~sguha
>> Marijuana is nature's way of saying, "Hi!".
>>
>
>
>

Saptarshi Guha | saptarshi.guha@gmail.com | http://www.stat.purdue.edu/~sguha
An adequate bootstrap is a contradiction in terms.


	[[alternative HTML version deleted]]

