yihui/knitr — Issue #80: use cached results when changing chunk display options, and other include=FALSE behavior
Author: cboettig
Created: 2012-01-11 23:32:19+00:00
State: open

Not sure if this is actually possible, but it would be nice to be able to turn off print options on a chunk (e.g. setting include=FALSE) that has already been run and cached without having the chunk rerun.

When fig=TRUE but include=FALSE, is it possible to have the system override the include=FALSE command for silly user like me who didn't think about displaying graphs as print commands?

Also, I keep encountering packages that use print() when they mean message() or warning(), with the result that I cannot turn their messages and warnings off without explicitly wrapping their code in

```r
invisible(capture.output( out <- silly_function()))
```

I thought include=FALSE would hide output that is explicitly printed by the function?