Thanks to Richard Heiberger, John Fox, and Avi Gross, who pointed out to me that I should
> use double brackets > [[ ]] > > > xxx[[2,3]] > $a > [1] "n" > > $b > [1] 20 I really should've should've known that; I feel a bit duh now! See fortunes::fortune(341) for a relevant comment. :-) Thanks again. cheers, Rolf Turner -- Honorary Research Fellow Department of Statistics University of Auckland Phone: +64-9-373-7599 ext. 88276 ______________________________________________ R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see 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.