[R] colClasses

Kerpel, John John.Kerpel at infores.com
Wed Jun 21 22:20:19 CEST 2006


Read.zoo did it!  Thanks!

-----Original Message-----
From: Gabor Grothendieck [mailto:ggrothendieck at gmail.com] 
Sent: Wednesday, June 21, 2006 3:15 PM
To: Kerpel, John
Cc: r-help at stat.math.ethz.ch
Subject: Re: [R] colClasses

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 <John.Kerpel at infores.com> 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 at 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
>



More information about the R-help mailing list