I wanted to create a function that creates an empty data.table with specified
column types.
emptyDT <- function(colNames,colTypes){...}
I would call
emptyDT(c('date','id','value'),c('Date','Character','Numeric'))

Is there something available for this already ?




--
View this message in context: 
http://r.789695.n4.nabble.com/create-empty-data-table-tp4710237.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

Reply via email to