[R] closest match in R to c-like struct?

Giovanni Azua bravegag at gmail.com
Sat May 1 18:58:49 CEST 2010


On May 1, 2010, at 6:48 PM, steven mosher wrote:
> I was talking with another guy on the list about this very topic.
> 
> A simple example would help.
> 
> first a sample C struct, and then how one would do the equivalent in R.
> 
> In the end i suppose one want to do a an 'array' of these structs, or list
> of the structs.

Or like in my use-case ... I needed a c-like struct to define the type for aggregating the data to return from a function. 

Best regards,
Giovanni


More information about the R-help mailing list