Skip to content

Commit 536e139

Browse files
committed
Restore and add issue number comments
1 parent dce5314 commit 536e139

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

R/print.data.table.R

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -142,7 +142,11 @@ print.data.table = function(x, topn=getOption("datatable.print.topn"),
142142
if (nrow(toprint)>20L && col.names == "auto")
143143
# repeat colnames at the bottom if over 20 rows so you don't have to scroll up to see them
144144
# option to shut this off per request of Oleg Bondar on SO, #1482
145-
toprint = rbind(toprint, matrix(if (quote) old else colnames(toprint), nrow=1L), if (isTRUE(class)) matrix(abbs, nrow=1L))
145+
toprint = rbind(
146+
toprint,
147+
matrix(if (quote) old else colnames(toprint), nrow=1L), # see #97
148+
if (isTRUE(class)) matrix(abbs, nrow=1L) # #6902
149+
)
146150
print_default(toprint)
147151
invisible(x)
148152
}

0 commit comments

Comments
 (0)