[datatable-help] dt[, 0, =?utf-8?Q?with=3DFALSE=5D_?=doesn't return an empty data.table

Arunkumar Srinivasan aragorn168b at gmail.com
Tue May 5 23:01:11 CEST 2015


Frank, for consistency, I think it should.

-- 
Arun

On 5 May 2015 at 22:49:41, Frank Erickson (fperickson at wisc.edu) wrote:

Hi,

In answering this question 
http://stackoverflow.com/q/30062012/1191259 

...I noticed that
* df[,0] gives an empty data.frame, but
* dt[,0,with=FALSE] does not give an empty data.table.

Should it? I switched to using `[.listof`(dt,0), which gives my expected result.

Best,

Frank
_______________________________________________  
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/20150505/1cf9018d/attachment.html>


More information about the datatable-help mailing list