Skip to content
Prev 206855 / 398503 Next

Using the output of strsplit

'x' is a matrix and not a dataframe.  You should be doing

colnames(x) <- c("Date", "quarter")
x[,"Date"] <- as.Date(x[,"Date"])


It would help if you took a look at the structure you were using to
understand how to access.  'names' applied to a vector would give you
the output for 13000 more entries.  Think about it.
On Tue, Jan 19, 2010 at 2:07 PM, James Rome <jamesrome at gmail.com> wrote: