Rstudio and Run all Chunks

rstudio
knitr

#1

I regularly use the run all chunks function in RStudio for my Rnw files. I was wondering if there is a setting or a command line option that would run all chunks until it hits the first error. Or to say it another way, get it to stop running as soon as it hits a chunk that would cause the Rnw to stop compiling.