[R] How to collect arrays in an array?

Suresh_FSFM suresh.ghalsasi at gmail.com
Fri Jan 30 16:44:58 CET 2009


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.ghalsasi at 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--tp21748883p21748883.html
>> Sent from the R help mailing list archive at Nabble.com.
>>
>> ______________________________________________
>> R-help at 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 at 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--tp21748883p21749677.html
Sent from the R help mailing list archive at Nabble.com.




More information about the R-help mailing list