stopf | R Documentation |
stopf calls sprintf of its parameters to build the error message and stops with the given message
stopf(...)
... |
Arguments passed on to
|
L.Pavot
tryCatch({
file <- "/tmp/test"
stopf("Error in %s file.", file)
}, error = function(error) {
print(error)
})
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.