[R] counting number of objects in a list

2004-06-08 Thread 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

Re: [R] counting number of objects in a list

2004-06-08 Thread Uwe Ligges
Vumani Dlamini wrote: 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

RE: [R] counting number of objects in a list

2004-06-08 Thread Liaw, Andy
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