Skip to content
Prev 248537 / 398506 Next

Sweave with pdf(): how to remove mention "null device"

Note that the 'problem' is with dev.off(), not pdf(), and the answer 
is ?invisible.

pdf()
invisible(dev.off())
On Thu, 27 Jan 2011, Matthieu Stigler wrote:

            
Searching for the irrelevant 'pdf()' will not have helped, I fear ...