Re: [Rd] FW: Passing lists from R to C, extracting elements, and sending lists back again

From: Manuel Castejón Limas <>
Date: Mon 25 Dec 2006 - 10:10:49 GMT

Dear Michael,

I had to tackle a similar issue while programming the AMORE package. I recommend you to have a look at the source code of its "copynet.c" file. You may find useful the reading of the "copynet_RC" function ( Copies the SEXP net to the *ptnet) and the "copynet_CR" function (Copies *ptnet to SEXP net).

Of course, I do not pretend to establish what best practices should be, just to show you how I solved a similar issue following my personal understanding of what was appropriated in that situation.

Best wishes and Merry Christmas!
Manuel mailing list Received on Tue Dec 26 20:18:31 2006

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.1.8, at Thu 28 Dec 2006 - 00:30:58 GMT.

Mailing list information is available at Please read the posting guide before posting to the list.