Peter has already directly answered your question but in case what you really want is a zoo time series object (applicable if this is a time series) then see the example in ?read.zoo in the zoo package. Also,
library(zoo); vignette("zoo") gives info on zoo package. On 6/21/06, Kerpel, John <[EMAIL PROTECTED]> wrote: > Hi Folks! > > > > I'm reading in some data from a .csv file that has a date column. > > > > How do I use colClasses to get read.csv to recognize the date column? > The documentation on this seems to be nil - > > And yes, I've read help and R Data Import/Export and can't figure out > what the colClasses syntax is. > > > > Thanks, > > > > john > > > [[alternative HTML version deleted]] > > ______________________________________________ > R-help@stat.math.ethz.ch mailing list > https://stat.ethz.ch/mailman/listinfo/r-help > PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html > ______________________________________________ R-help@stat.math.ethz.ch mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html