Hi, On Sun, Jul 17, 2011 at 6:41 AM, Matthew Dowle <[email protected]> wrote: > On Fri, 2011-07-15 at 10:47 -0400, Steve Lianoglou wrote: [snip] >> >> What *is* still true is that you can only a length 1 character vector >> when setting the key on a data.table during its construction, eg: >> >> R> dt <- data.tabe[a=..., b=..., score=..., key='a,b'] >> >> instead of >> >> R> dt <- data.tabe[a=..., b=..., score=..., key=c('a','b')] >> >> And I do agree that that is a bit strange and worth tweaking. > > Duly tweaked and committed : > > o The key argument of data.table() now accepts a vector of > column names in addition to a single comma separated string > of column names. Thanks to Steve Lianoglou for highlighting.
Cool, thanks! You move fast, -steve -- Steve Lianoglou Graduate Student: Computational Systems Biology | Memorial Sloan-Kettering Cancer Center | Weill Medical College of Cornell University Contact Info: http://cbio.mskcc.org/~lianos/contact _______________________________________________ datatable-help mailing list [email protected] https://lists.r-forge.r-project.org/cgi-bin/mailman/listinfo/datatable-help
