Thanks a lot ! :-) Regards, Suresh
ONKELINX, Thierry wrote: > > You'll need the [[ operator. > > Your.list.name[[3]] gives the third element. > > > ------------------------------------------------------------------------ > ---- > ir. Thierry Onkelinx > Instituut voor natuur- en bosonderzoek / Research Institute for Nature > and Forest > Cel biometrie, methodologie en kwaliteitszorg / Section biometrics, > methodology and quality assurance > Gaverstraat 4 > 9500 Geraardsbergen > Belgium > tel. + 32 54/436 185 > thierry.onkel...@inbo.be > www.inbo.be > > To call in the statistician after the experiment is done may be no more > than asking him to perform a post-mortem examination: he may be able to > say what the experiment died of. > ~ Sir Ronald Aylmer Fisher > > The plural of anecdote is not data. > ~ Roger Brinner > > The combination of some data and an aching desire for an answer does not > ensure that a reasonable answer can be extracted from a given body of > data. > ~ John Tukey > > -----Oorspronkelijk bericht----- > Van: r-help-boun...@r-project.org [mailto:r-help-boun...@r-project.org] > Namens Suresh_FSFM > Verzonden: vrijdag 30 januari 2009 16:45 > Aan: r-help@r-project.org > Onderwerp: Re: [R] How to collect arrays in an array? > > > Thanks for a prompt response. > Ok. I see your point. > However, then next silly question is how to access these elements of > list > dynamically? > suppose I want to access 3rd item or 3rd element of the list (which > would be > my array-3 stored at 3rd position in the list). > > Thank you. > > Regards, > Suresh > > > stephen sefick wrote: >> >> why not a list? >> >> On Fri, Jan 30, 2009 at 10:10 AM, Suresh_FSFM > <suresh.ghals...@gmail.com> >> wrote: >>> >>> Dear R-Experts, >>> >>> Seek your help. >>> Please let me know how arrays of different sizes can be collected in > one >>> array. >>> suppose I want to collect following arrays in one array. How can I do > so? >>> >>> array(1): #row=3, #col=4(these columns store data of different types) >>> array(2): #row=6, #col=4 >>> array(3): #row=3, #col=4 >>> .... >>> >>> want to store in Main_array >>> How to define dimensions of Main_array? >>> >>> >>> Thank you. >>> >>> Regards, >>> Suresh >>> -- >>> View this message in context: >>> > http://www.nabble.com/How-to-collect-arrays-in-an-array--tp21748883p2174 > 8883.html >>> Sent from the R help mailing list archive at Nabble.com. >>> >>> ______________________________________________ >>> 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. >>> >> >> >> >> -- >> Stephen Sefick >> >> Let's not spend our time and resources thinking about things that are >> so little or so large that all they really do for us is puff us up and >> make us feel like gods. We are mammals, and have not exhausted the >> annoying little problems of being mammals. >> >> -K. > Mullis >> >> ______________________________________________ >> 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. >> >> > > -- > View this message in context: > http://www.nabble.com/How-to-collect-arrays-in-an-array--tp21748883p2174 > 9677.html > Sent from the R help mailing list archive at Nabble.com. > > ______________________________________________ > 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. > > Dit bericht en eventuele bijlagen geven enkel de visie van de schrijver > weer > en binden het INBO onder geen enkel beding, zolang dit bericht niet > bevestigd is > door een geldig ondertekend document. The views expressed in this message > and any annex are purely those of the writer and may not be regarded as > stating > an official position of INBO, as long as the message is not confirmed by a > duly > signed document. > > ______________________________________________ > 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. > > -- View this message in context: http://www.nabble.com/How-to-collect-arrays-in-an-array--tp21748883p21750072.html Sent from the R help mailing list archive at Nabble.com. ______________________________________________ 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.