[datatable-help] join vignette for data.table

Arunkumar Srinivasan aragorn168b at gmail.com
Tue Dec 22 12:02:24 CET 2015


In the works. I’ve not yet managed to finish.

require(data.table)
A = data.table(x=1:2, y=3:4)
B = data.table(x=2:3, y=3:4)

anti-join:

A[!B, on="x"] # equivalently A[!B, .SD, on="x"]

semi-join:

A[B, .SD, nomatch=0L, on="x"]

-- 
Arun

On 21 December 2015 at 17:09:22, statquant3 (statquant at outlook.com) wrote:

Hello, is there a join vignette for data.table ?  
I realize that I am now more and more using dplyr just for semi_join and  
anti_join.  
Is there any plan to write those sugar function ?  
Happy to do it here and get feedback.  

C.  



--  
View this message in context: http://r.789695.n4.nabble.com/join-vignette-for-data-table-tp4715792.html  
Sent from the datatable-help mailing list archive at Nabble.com.  
_______________________________________________  
datatable-help mailing list  
datatable-help at lists.r-forge.r-project.org  
https://lists.r-forge.r-project.org/cgi-bin/mailman/listinfo/datatable-help  
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.r-forge.r-project.org/pipermail/datatable-help/attachments/20151222/703d3f88/attachment.html>


More information about the datatable-help mailing list