[datatable-help] Skipping some Vi names
Steve Lianoglou
mailinglist.honeypot at gmail.com
Sun Jul 17 17:28:14 CEST 2011
Hi,
On Sun, Jul 17, 2011 at 6:41 AM, Matthew Dowle <mdowle at mdowle.plus.com> 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
More information about the datatable-help
mailing list