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,
My question is regards accessing complex lists. I am new to R, but
experienced in Java, Python, SQL.
I am working with an object: Dataprocess and in it slot: data that is a
list.
Also I am creating generic functions to perform on the slot: data which is
the list.
I am working with the Airline
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 --
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
4 matches
Mail list logo