I do have an Rmd where I would like to conditionally evaluate the second part.
So far I am working with :
```{r}
if(length(specLibrary@ionlibrary) ==0){
library(knitr)
opts_chunk$set(eval=FALSE, message=FALSE, echo=FALSE)
}
```
Which disables the evaluation of subsequent chunks.
However my RMD file contains also these kind of snippets : `r `
How do I disable them?
regards
--
Witold Eryk Wolski
______________________________________________
[email protected] mailing list -- To UNSUBSCRIBE and more, see
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.