Re: [R] accessing names of lists in a list

2011-07-06 Thread Greg Snow
greg.s...@imail.org 801.408.8111 > -Original Message- > From: r-help-boun...@r-project.org [mailto:r-help-bounces@r- > project.org] On Behalf Of tomtomme > Sent: Wednesday, July 06, 2011 1:24 PM > To: r-help@r-project.org > Subject: [R] accessing names of lists in a list &

[R] accessing names of lists in a list

2011-07-06 Thread tomtomme
After importing multiple files to data.frames in R, I want to rename all their columns and do other operations with them. The data.frame names are not continuous like 1, 3, 4, 6. I could not find a way of creating a list of the data.frames and loop this and ended up putting them into a list first: