search for: rawkv

Displaying 1 result from an estimated 1 matches for "rawkv".

Did you mean: rawk
2009 Sep 20
1
Return a list from a .Call but segfaults
...or V*) There 2*I such pairs( (Ki,KDatai), (Vi,VDatai)) The numbers Ki(and Vi) are written in network order. I am returning a list of I elements each element a list of two elements corresponding to KData and VData (which are serialized R objects) . ll <- .Call("returnListOfKV", rawkv, numread) When use the function with browser(), and type head(ll) i get valid results. However, i get a segfault when the code runs the next line j <- append(j,ll) (where j was defined as vector(mode='list') ) The code below looks alright, but it appears to crash when getting...