Re: [Rd] Return a list from a .Call but segfaults

2009-09-19 Thread Saptarshi Guha
After some examination, this is what i found (i changed the code somewhat, i dont modify rawdata anymore) load("/tmp/v.Rdata") dyn.load("/ln/meraki/custom/lib64/R/library/mylib/libs/lib.so") v=.Call("returnListOfKV",rawkv,numread) ## v is a list of 28231 lists each of length 2 j=v[1:1] ; u=li

[Rd] Return a list from a .Call but segfaults

2009-09-19 Thread Saptarshi Guha
Hello, I call a function via .Call passing to it a raw vector(D) and an integer(I) The vector is a series K1,KData1, V1,VData1, K2, KData2, ... where the integer K1 is the length of Data1 and similarly for Ki (wrt Datai)(similarly for V*) There 2*I such pairs( (Ki,KDatai), (Vi,VDatai)) The

Re: [Rd] Package crashes R under Windows Vista

2009-09-19 Thread cstrato
Dear Duncan, I know that I am asking an unusual question, since MS VC++ is not supported, and I have of course installed the Rtools. However, asking support from MS is not an option for the following reason: Looking at different VC forums everybody tells you that you should compile all libra