Hi, I got this: > dt <- frame[, lapply(.SD, last) ,by=id] Finding groups (bysameorder=TRUE) ... done in 0.126secs. bysameorder=TRUE and o__ is length 0 Optimized j from 'lapply(.SD, last)' to 'list(last(country), last(language), last(browser), last(platform), last(uatype), last(behavior))' Starting dogroups ... Error in loadNamespace(name) : there is no package called ‘xts’ Calls: [ -> [.data.table -> last -> :: -> getExportedValue -> asNamespace -> getNamespace -> tryCatch -> tryCatchList -> tryCatchOne -> <Anonymous> >
the help for last does mention xts, but I don't have it installed. do I need to? -- Sam Steingold (http://sds.podval.org/) on Ubuntu 12.10 (quantal) X 11.0.11300000 http://www.childpsy.net/ http://ffii.org http://think-israel.org http://mideasttruth.com http://memri.org http://camera.org Ernqvat guvf ivbyngrf QZPN. _______________________________________________ datatable-help mailing list [email protected] https://lists.r-forge.r-project.org/cgi-bin/mailman/listinfo/datatable-help
