how to increase the limit for max.print in R
I am using the Graph
package in R for maxclique analysis of 5461 items.
The final output item which I get is very long, so I am getting the following warning:
reached
getOption("max.print")
-- omitted 475569 rows
Can somebody please provide me the pointers with how to increase the limit
for max.print
.
Use the options
command, e.g. options(max.print=1000000)
.
See ?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_.
See ?options
:
options(max.print=999999)
set the function options(max.print=10000) in top of your program. since you want intialize this before it works. It is working for me.