The data.table has a nice feature that suppresses output to the head and tail of the table.
Is it possible to view / print more than 100 rows at once?
li
You could convert it to a data.frame only for printing:
iris_dt = as.data.table(iris) print(as.data.frame(iris_dt))