[datatable-help] minor formatting issue
Michael Nelson
michael.nelson at sydney.edu.au
Tue Apr 30 00:36:08 CEST 2013
Good spotting. File a bug report.
________________________________________
From: datatable-help-bounces at lists.r-forge.r-project.org [datatable-help-bounces at lists.r-forge.r-project.org] on behalf of eddi [eduard.antonyan at gmail.com]
Sent: Tuesday, 30 April 2013 6:51 AM
To: datatable-help at lists.r-forge.r-project.org
Subject: [datatable-help] minor formatting issue
When joining vs not-joining the order of the key column is different in the
output:
> dt = data.table(a = c(1:4), b = c(1:4), key = "b")
> dt[J(1)]
b a
1: 1 1
> dt[!J(1)]
a b
1: 2 2
2: 3 3
3: 4 4
I don't usually care about column order, but this could become a surprise
issue for people reading/writing to files.
--
View this message in context: http://r.789695.n4.nabble.com/minor-formatting-issue-tp4665760.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
More information about the datatable-help
mailing list