Doing DT <- data.table(date=Sys.Date()[0],id=character(0),value=numeric(0)) is exactly what I want to do... programatically. I just want to provide column names and type of columns...
-- View this message in context: http://r.789695.n4.nabble.com/create-empty-data-table-tp4710237p4710261.html Sent from the datatable-help mailing list archive at Nabble.com. _______________________________________________ datatable-help mailing list [email protected] https://lists.r-forge.r-project.org/cgi-bin/mailman/listinfo/datatable-help
