%except% | R Documentation |
Try to evaluate an expressions and evaluate another expression on exception
try %except% except
try |
R expression |
except |
fallback R expression to be evaluated if |
Suppress log messages in the except
namespace if you don't
want to throw a WARN
log message on the exception branch.
everything %except% 42
everything <- "640kb"
everything %except% 42
FunDoesNotExist(1:10) %except% sum(1:10) / length(1:10)
FunDoesNotExist(1:10) %except% (sum(1:10) / length(1:10))
FunDoesNotExist(1:10) %except% MEAN(1:10) %except% mean(1:10)
FunDoesNotExist(1:10) %except% (MEAN(1:10) %except% mean(1:10))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.