Re: [R] Accessing List within a List in a for Loop

2012-11-30 Thread David Winsemius
Two things (at least) to consider if you post again. 1) This is a mailing list and Nabble is a cruel deception. It deludes you into thinking you are communicating effectively with your audience. 2) Much better to look at the results of str(object) than to use print(object) On Nov 28, 201

Re: [R] Accessing List within a List in a for Loop

2012-11-28 Thread m.dr
Thanks Gerritt. That really helped. I needed the second subscript. And yes I will make my posts simpler next time. -- View this message in context: http://r.789695.n4.nabble.com/Accessing-List-within-a-List-in-a-for-Loop-tp4651086p4651170.html Sent from the R help mailing list archive at Nab

Re: [R] Accessing List within a List in a for Loop

2012-11-28 Thread Gerrit Eichner
Hello, Mono, your description of your problem is a bit "overwhelming". You might get an answer if you provide (simplified) reproducible code (maybe with example data). I can only guess that -- instead of factor( x[[1]]) -- you maybe should use factor( x[[1]][1]) in some place. Hth --