Re: [R] colClasses

From: Kerpel, John <John.Kerpel_at_infores.com>
Date: Thu 22 Jun 2006 - 06:20:19 EST


Read.zoo did it! Thanks!

-----Original Message-----
From: Gabor Grothendieck [mailto:ggrothendieck@gmail.com] Sent: Wednesday, June 21, 2006 3:15 PM
To: Kerpel, John
Cc: r-help@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@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@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 Received on Thu Jun 22 06:24:45 2006

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.1.8, at Thu 22 Jun 2006 - 08:12:23 EST.

Mailing list information is available at https://stat.ethz.ch/mailman/listinfo/r-help. Please read the posting guide before posting to the list.