Re: [R] create structs in R.

2011-05-14 Thread Uwe Ligges
On 14.05.2011 13:28, Alaios wrote: Dear all, so far when I want to create a struct with a substructs I create. Lists with sublists by using functions and replicate. This will end up in to a struct that is addressed like that for (i in c(1:100){ for (j in c(1:100){ Mystruct[[1]][[2

[R] create structs in R.

2011-05-14 Thread Alaios
Dear all, so far when I want to create a struct with a substructs I create. Lists with sublists by using functions and replicate. This will end up in to a struct that is addressed like that for (i in c(1:100){ for (j in c(1:100){ Mystruct[[1]][[2]][[1]][[i]][[k]]<-dosomething() } } I