You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: NEWS.md
+2Lines changed: 2 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -20,6 +20,8 @@
20
20
21
21
4.Namespace-qualifying`data.table::shift()`, `data.table::first()`, or`data.table::last()`willnotdeactivateGForce, [#5942](https://github.com/Rdatatable/data.table/issues/5942). Thanks @MichaelChirico for the proposal and fix. Namespace-qualifying other calls like `stats::sum()`, `base::prod()`, etc., continue to work as an escape valve to avoid GForce, e.g. to ensure S3 method dispatch.
22
22
23
+
5.`transpose`gains`list.cols=`argument, [#5639](https://github.com/Rdatatable/data.table/issues/5639). Use this to return output with list columns and avoids type promotion (an exception is `factor` columns which are promoted to `character` for consistency between `list.cols=TRUE` and `list.cols=FALSE`). This is convenient for creating a row-major representation of a table. Thanks to @MLopez-Ibanez for the request, and Benjamin Schwendinger for the PR.
24
+
23
25
## BUG FIXES
24
26
25
27
1.`unique()`returnsacopythecasewhen`nrows(x) <= 1`insteadofamutablealias, [#5932](https://github.com/Rdatatable/data.table/pull/5932). This is consistent with existing `unique()` behavior when the input has no duplicates but more than one row. Thanks to @brookslogan for the report and @dshemetov for the fix.
\item{keep.names}{Thenameofthefirstcolumnintheresultcontainingthenamesoftheinput; e.g. \code{keep.names="rn"}.Bydefault \code{NULL} andthenamesoftheinputarediscarded.}
16
16
\item{make.names}{Thenameornumberofacolumnintheinputtouseasnamesoftheoutput; e.g. \code{make.names="rn"}.Bydefault \code{NULL} anddefaultnamesaregiventotheoutputcolumns.}
0 commit comments