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 ______________________________________________ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code.