【发布时间】:2021-03-27 19:21:12
【问题描述】:
举个例子,
rnorm(9999999)
在控制台中产生一个非常大的输出,即使我向上滚动到最后一个限制,我也看不到所有输出。
我更喜欢不需要我保存输出的解决方案。
【问题讨论】:
-
options(max.print = big_number) -
也许您正在寻找
page()? -
community.rstudio.com/t/… 建议
rstudioapi::writeRStudioPreference("console_max_lines", <size>)可能会这样做,如果我理解正确的话(我没有尝试过 - 它需要 RStudio 1.3.688,我没有在工作中) .可能还需要设置max.print,正如 Ronak Shah 所建议的那样