I want my html file to show the code, but not the output of this chunk:
```{r echo=True, include=FALSE} fun <- function(b) { for(a in b) {
For completely silencing the output, here what works for me
```{r error=FALSE, warning=FALSE, message=FALSE} invisible({capture.output({ # Your code here 2 * 2 # etc etc })}) ```
The 5 measures used above are
error = FALSE
warning = FALSE
message = FALSE
invisible()
capture.output()