<html><head><style>body{font-family:Helvetica,Arial;font-size:13px}</style></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><div id="bloop_customfont" style="font-family:Helvetica,Arial;font-size:13px; color: rgba(0,0,0,1.0); margin: 0px; line-height: auto;">Great! Thanks a bunch.</div><div id="bloop_customfont" style="font-family:Helvetica,Arial;font-size:13px; color: rgba(0,0,0,1.0); margin: 0px; line-height: auto;"><br></div> <div id="bloop_sign_1399590632225384960" class="bloop_sign"><div style="font-family:helvetica,arial;font-size:13px">Arun</div></div> <div style="color:black"><br>From: <span style="color:black">G See</span> <a href="mailto:gsee000@gmail.com">gsee000@gmail.com</a><br>Reply: <span style="color:black">G See</span> <a href="mailto:gsee000@gmail.com">gsee000@gmail.com</a><br>Date: <span style="color:black">May 9, 2014 at 1:10:07 AM</span><br>To: <span style="color:black">Arunkumar Srinivasan</span> <a href="mailto:aragorn168b@gmail.com">aragorn168b@gmail.com</a><br>Cc: <span style="color:black">datatable-help@lists.r-forge.r-project.org</span> <a href="mailto:datatable-help@lists.r-forge.r-project.org">datatable-help@lists.r-forge.r-project.org</a><br>Subject: <span style="color:black"> Re: [datatable-help] merge zero row data.table <br></span></div><br> <blockquote type="cite" class="clean_bq"><span><div><div></div><div>Thanks Arun. Bug filed:
<br>https://r-forge.r-project.org/tracker/index.php?func=detail&aid=5672&group_id=240&atid=975
<br>
<br>On Thu, May 8, 2014 at 6:00 PM, Arunkumar Srinivasan
<br><aragorn168b@gmail.com> wrote:
<br>> Garrett,
<br>>
<br>> Seems like it works fine in 1.9.2. I'd say it's a bug introduced due to
<br>> changes in 1.9.3. Could you please file it as one? Thanks.
<br>>
<br>> Arun
<br>>
<br>> From: G See gsee000@gmail.com
<br>> Reply: G See gsee000@gmail.com
<br>> Date: May 9, 2014 at 12:57:15 AM
<br>> To: datatable-help@lists.r-forge.r-project.org
<br>> datatable-help@lists.r-forge.r-project.org
<br>> Subject: [datatable-help] merge zero row data.table
<br>>
<br>> Hi,
<br>>
<br>> Is the following error expected?
<br>>
<br>>> library(data.table)
<br>> data.table 1.9.3 For help type: help("data.table")
<br>>> a <- data.table(BOD, key="Time")
<br>>> b <- data.table(BOD, key="Time")[Time < 0] # zero row data.table
<br>>> merge(a,b, all=TRUE) # works fine
<br>> Time demand.x demand.y
<br>> 1: 1 8.3 NA
<br>> 2: 2 10.3 NA
<br>> 3: 3 19.0 NA
<br>> 4: 4 16.0 NA
<br>> 5: 5 15.6 NA
<br>> 6: 7 19.8 NA
<br>>> merge(b,a, all=TRUE) # error
<br>> Error in setcolorder(dt, c(setdiff(names(dt), end), end)) :
<br>> neworder is length 2 but x has 3 columns.
<br>>
<br>> Thanks,
<br>> Garrett
<br>>
<br>> p.s. using svn Rev. 1263
<br>> _______________________________________________
<br>> datatable-help mailing list
<br>> datatable-help@lists.r-forge.r-project.org
<br>> https://lists.r-forge.r-project.org/cgi-bin/mailman/listinfo/datatable-help
<br></div></div></span></blockquote></body></html>