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
@@ -48,6 +48,8 @@
48
48
49
49
13.`setnafill()` now accepts a logical vector for the `cols` argument, which must be the same length as the number of columns in `x`, [#4113](https://github.com/Rdatatable/data.table/issues/4113). Thanks to @MichaelChirico for the suggestion and @venom1204 for the PR.
50
50
51
+
14.`transpose()` and `tstrsplit()` gain a `keep` argument to specify which columns to return and in what order, [#5250](https://github.com/Rdatatable/data.table/issues/5250). When `keep` is used, the operation is now significantly more memory-efficient because memory for "throwaway" columns is never allocated in the C engine. Thanks to @MichaelChirico for the suggestion and @venom1204 the implementation.
52
+
51
53
### BUG FIXES
52
54
53
55
1.`fread()` with `skip=0` and `(header=TRUE|FALSE)` no longer skips the first row when it has fewer fields than subsequent rows, [#7463](https://github.com/Rdatatable/data.table/issues/7463). Thanks @emayerhofer for the report and @ben-schwen for the fix.
\item{keep.names}{Thenameofthefirstcolumnintheresultcontainingthenamesoftheinput; e.g. \code{keep.names="rn"}.Bydefault \code{NULL} andthenamesoftheinputarediscarded.}
17
17
\item{make.names}{Thenameornumberofacolumnintheinputtouseasnamesoftheoutput; e.g. \code{make.names="rn"}.Bydefault \code{NULL} anddefaultnamesaregiventotheoutputcolumns.}
0 commit comments