You can also try: DT[,start:=as.Date(start)][,end:=as.Date(replace(end,is.na(end), "2000-01-01"))]
If you want to modify the original data table. On 17 September 2014 08:58, Frank S. <[email protected]> wrote: > Gabor, many thanks for your answer!! > > _______________________________________________ > datatable-help mailing list > [email protected] > https://lists.r-forge.r-project.org/cgi-bin/mailman/listinfo/datatable-help >
_______________________________________________ datatable-help mailing list [email protected] https://lists.r-forge.r-project.org/cgi-bin/mailman/listinfo/datatable-help
