Skip to content
Prev 26746 / 63424 Next

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

On Fri, 16 Nov 2007, Charles Danko wrote:

            
Put them in a list? The SEXP function in the .Call() interface then 
returns a list wich you unpack on the R side. There are plenty of examples 
in the base code and in numerous contributed packages.