Hi Matthew, thank you.

This is my function and I added the modified line that you suggested below:
freadDataRatingDepotFiles <- function (file) 
{
RDdatatmp <- fread(file, autostart=40)
RDdatatmp <- RDdatatmp[,site:=funArg]
}

I used the function on the files and I received the error below:

big = rbindlist(lapply(sitefiles,freadDataRatingDepotFiles))
Error in eval(expr, envir, enclos) : object 'funArg' not found

Thank you.

Irucka



--
View this message in context: 
http://r.789695.n4.nabble.com/subset-between-data-table-list-and-single-data-table-object-tp4673202p4673285.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