[Rd] Returning vectors of two different data types back to R environment (from C).

From: Charles Danko <dankoc_at_gmail.com>
Date: Fri, 16 Nov 2007 15:49:09 -0500


Hello,

Quick question.

I have written a C function - I would like to make it return two vectors to the R environment - one STRSXP vector, and one INTSXP vector. Is this possible/ easy to do using the API?

I looked, but could not find the answer to this question in the "Writing R Extensions" guide.

Thanks very much for your help!
Charles

        [[alternative HTML version deleted]]



R-devel_at_r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-devel Received on Fri 16 Nov 2007 - 20:50:39 GMT

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.2.0, at Sat 17 Nov 2007 - 04:30:19 GMT.

Mailing list information is available at https://stat.ethz.ch/mailman/listinfo/r-devel. Please read the posting guide before posting to the list.