[datatable-help] Thanks for help on := (and another minor correction in help file)

Steve Lianoglou mailinglist.honeypot at gmail.com
Wed Jan 11 20:32:41 CET 2012


Hi Joseph,

On Wed, Jan 11, 2012 at 2:25 PM, Joseph Voelkel <jgvcqa at rit.edu> wrote:
> I just obtained the latest release of data.table, and immediately went to
> see what’s new. The help on := was just what I was looking for. It cleared
> up things nicely for me, the RHS/LHS issue was very helpful, and the
> examples were the usual good stuff--simple, and they get a variety of ideas
> across succinctly.
>
>
>
> Minor note:
>
>     DT[a>"A",b:=d*2L]  # subassign to b using d where a>"A"
>
> does not work: a is a factor, not character.

This is on the hit list:

https://r-forge.r-project.org/tracker/index.php?func=detail&aid=1491&group_id=240&atid=978

-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