Re: [R] specifying column names in a vector of characters and the use?

2010-07-18 Thread Erik Iverson
Hello, What I would like to do is have a data.frame with column names and have these column names stored as strings in another vector. Then I would like to be able to access the data.fram columns via referencing the vector of names. The code below shows the last few executions that failed to

Re: [R] specifying column names in a vector of characters and the use?

2010-07-18 Thread Simon Blomberg
Try: table.1[[hold[1]]] Cheers, Simon. On 19/07/10 12:09, Seth wrote: Hi, What I would like to do is have a data.frame with column names and have these column names stored as strings in another vector. Then I would like to be able to access the data.fram columns via referencing the vector

Re: [R] specifying column names in a vector of characters and the use?

2010-07-18 Thread David Winsemius
On Jul 18, 2010, at 10:09 PM, Seth wrote: Hi, What I would like to do is have a data.frame with column names and have these column names stored as strings in another vector. Then I would like to be able to access the data.fram columns via referencing the vector of names. The code