如何增加R中max.print的限制

Jay*_*Jay 70 r

我正在使用GraphR中的包来进行5461项的maxclique分析.

我得到的最终输出项很长,所以我收到以下警告:

到达getOption("max.print")- 省略了475569行

有人可以给我提供如何增加限制的指示max.print.

NPE*_*NPE 91

使用options命令,例如options(max.print=1000000).

?options:

 ‘max.print’: integer, defaulting to ‘99999’.  ‘print’ or ‘show’
      methods can make use of this option, to limit the amount of
      information that is printed, to something in the order of
      (and typically slightly less than) ‘max.print’ _entries_.
Run Code Online (Sandbox Code Playgroud)

  • @Jeol:R 打印整个内容,但默认情况下控制台仅存储最后 8000 行输出。转到“编辑”->“GUI 首选项...”->“线条”,然后增加值。然后“保存...”和“确定”。 (2认同)

rcs*_*rcs 33

?options:

options(max.print=999999)
Run Code Online (Sandbox Code Playgroud)

  • `options(max.print = .Machine $ integer.max)`是最极端的版本 (9认同)