Possible to print more than 100 rows of a data.table?

后端 未结 5 828
刺人心
刺人心 2021-02-01 01:34

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         


        
5条回答
  •  逝去的感伤
    2021-02-01 01:55

    You could convert it to a data.frame only for printing:

    iris_dt = as.data.table(iris)
    print(as.data.frame(iris_dt))
    

提交回复
热议问题