I noticed that some library comment manage to pass through the knitr
options, with R 3.0.1
and knitr 1.5
running on Mac OSX 10.8.5. The following MWE
\documentclass{article}
\begin{document}
<<libraries, echo=FALSE, cache=TRUE, warning=FALSE, results='hide', cache.lazy=FALSE, message=FALSE>>=
library(memisc)
1+1
@
\end{document}
will still produce in the output
Is there any way to silence unequivocally and universally the libraries?
NOTE: I think it could be an issue related to how knitr
manage the warning messages from R
. In this specific case the warning message was successfully suppressed but not the annotation preceding the message.
memisc
when I run the script in terminal.Warning message: package ‘memisc’ was built under R version 3.0.2
just after the very same lines that are also outputted when typesetting the PDF (# Loading required...
)cache
directory ...