我正在Graph
R中使用该软件包对5461个项目进行maxclique分析。
我得到的最终输出项很长,因此我收到以下警告:
达到
getOption("max.print")
-省略475569行
有人可以给我指点一下如何增加限制max.print
。
Answers:
使用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_.
Edit
-> GUI preferences...
-> lines
,然后增加该值。然后Save...
和OK
。
options(max.print=100)
,head(df, 30)
我看到的是列名列表,而不是数据行。
见?options
:
options(max.print=999999)
options(max.print = .Machine$integer.max)
是最极端的版本