search for: how_do_i_name_it_dynam

Displaying 1 result from an estimated 1 matches for "how_do_i_name_it_dynam".

2008 Oct 23
1
naming list entries dynamically
...That's what I would like to see. But I got stucked coding it. Web search doesn't helped me a lot. Here is some code I thought it somehow would work like this: <---- flist <- list() fname <- list.files(pattern="some_pattern.txt") for(i in 1:length(fname)) { flist$"how_do_I_name_it_dynamically?" <- read.table(fname[i], header=FALSE) } ----> Second: I assume to use lists in R more or less like Matlab-structs. I hope that's not compleatly wrong... ? Appreciating any help and hints, Torsten