[r] 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.

This question is related to r

The answer is


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.


See ?options:

options(max.print=999999)