Lists in the S language are like vectors, so length(mylist) would tell you how many components there are in mylist. Beware, though, that lists can well be nested...
Andy > From: Vumani Dlamini > > Dear R-users; > > I am interested in getting the number of objects in a list, > and have thus > far been unsuccessful. Can you please help. > > Thank you. > > Vumani ______________________________________________ [EMAIL PROTECTED] mailing list https://www.stat.math.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html
