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
@@ -56,6 +56,8 @@
56
56
57
57
11.`between()` now supports `Date` and `IDate` bounds with default `NAbounds=TRUE`, avoiding errors like "Not yet implemented NAbounds=TRUE for this non-numeric and non-character type" when date bounds contain `NA`, [#7281](https://github.com/Rdatatable/data.table/issues/7281). Thanks @grcatlin for the report and fix, and @ben-schwen and @aitap for assistance.
58
58
59
+
12.`print.data.table()` now truncates long character columns and list-column summaries by default to avoid horizontal console overflow, [#7718](https://github.com/Rdatatable/data.table/issues/7718). When `datatable.prettyprint.char` is `NULL` (the default), the truncation limit is now dynamically calculated based on the available console width. Use `options(datatable.prettyprint.char=Inf)` for the old default behavior (never truncate). Thanks @tdhock for the report and @venom1204 for the fix.
toprint=format.data.table(toprint, na.encode=FALSE, timezone=timezone, trunc.char=trunc.char, ...) # na.encode=FALSE so that NA in character cols print as <NA>
"[NULL]"# not '' or 'NULL' to distinguish from those "common" string values in data
229
-
elseif (is.atomic(x) || inherits(x, "formula"))# FR #2591 - format.data.table issue with columns of class "formula"
230
-
paste(c(format(head(x, 6L), ...), if (length(x) >6L) sprintf("...[%d]", length(x))), collapse=",")# fix for #5435, #37, and #605 - format has to be added here...
\item{class}{ If \code{TRUE}, theresultingoutputwillincludeaboveeachcolumnitsstorage class (oraself-evidentabbreviationthereof).Whencombinedwith \code{col.names="auto"} andtables>20rows, classeswillalsoappearatthebottom.}
45
46
\item{row.names}{ If \code{TRUE}, rowindiceswillbeprintedalongside \code{x}. }
0 commit comments