On May 1, 2010, at 5:04 PM, (Ted Harding) wrote: > Well, 'list' must be pretty close! The main difference would be > that in C the structure type would be declared first, and then > applied to create an object with that structure, whereas an R > lists are created straight off. If you want to set up a generic > list type for a certain purpose, you would wrap its definition > in a function. > > Another difference is that R lacks the "pointer" type, so that > R's "mylist$component" is the equivalent of C's "mylist.component"; > I don't think you can do the equivalent in R of C's "mylist->component" > (though I'm likely to be wrong about that, and to be promptly corrected)! > > Hopingb this helps, > Ted.
Thank you all for your help! this list is really great ... I mean the mailing list :) 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.