daqana / tikzDevice

A R package for producing graphics output as PGF/TikZ code for use in TeX documents.
https://daqana.github.io/tikzDevice
132 stars 26 forks source link

Add an option to togge verbosity #137

Closed mllg closed 8 years ago

mllg commented 8 years ago

Using neovim and the nvim R plugin (https://github.com/jalvesaq/Nvim-R), knitr and rmarkdown are always executed in an interactive session. Thus, the output to PDF is flooded with messages like "using tikz dictionary" etc.

An option to turn this of (instead of asking interactive()) would be helpful.

krlmlr commented 8 years ago

Makes sense: Create an option, populate it in onLoad with the value of interactive(). Would you like to contribute a PR?

yihui commented 8 years ago

I just set verbose = FALSE in knitr. If you are unable to install the development version of knitr, you can also set the chunk option dev.args = list(tikz = list(verbose = FALSE)).

mllg commented 8 years ago

Thanks!