[datatable-help] Error: no method or default for coercing "character" to "IDate"

Chris Neff caneff at gmail.com
Wed Jul 27 16:20:46 CEST 2011


Hi all,

Using read.csv's colClasses argument with a date column tagged as IDate
doesn't work. Distilling it down it is the following.

This works:

as.IDate("2010/11/01")

but this doesn't (and is what read.csv uses):

as("2010/11/01","IDate")


I'm not familiar enough with the class semantics any more to remember, but
any reason why this isn't doable?

Thanks,
Chris
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.r-forge.r-project.org/pipermail/datatable-help/attachments/20110727/eec166f1/attachment.htm>


More information about the datatable-help mailing list