I apologize for double posting - my first message appeared to have been rejected.
> * Sam Steingold <[email protected]> [2013-04-23 17:57:36 -0400]: > > 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://openvotingconsortium.org http://pmw.org.il http://camera.org http://dhimmi.com http://think-israel.org Don't use force -- get a bigger hammer. _______________________________________________ datatable-help mailing list [email protected] https://lists.r-forge.r-project.org/cgi-bin/mailman/listinfo/datatable-help
