Re: [Rd] Get the tail of a list in C

2013-07-05 Thread maxpar
Thanks. Got it. I need differentiate pairlist and list. -- View this message in context: http://r.789695.n4.nabble.com/Get-the-tail-of-a-list-in-C-tp4670900p4670958.html Sent from the R devel mailing list archive at Nabble.com. __ R-devel@r-project

Re: [Rd] Get the tail of a list in C

2013-07-05 Thread romain
Le 2013-07-05 07:15, maxpar a écrit : Hi, I am write R extensions in C. Now I have a VECSXP variable, so how can I get the tail of it (all but the first one) as a new VECSXP. I tried CDR(), but it gives error. Thanks. Hello, A VECSXP is actually an array of pointers, not a linked list. If