notice | R Documentation |
Generate a notice to be sent to output
notice(..., printnotices = NULL)
... |
contents of the notice, will be pasted together |
printnotices |
logical: Should the notice be printed? Default is the respective pl option. |
This function is very similar to 'message'
None.
Werner A. Stahel
message
ff <- function(x) {
if (length(x)==0) {
notice("ff: argument 'x' is NULL. I return 0")
return(0)
}
1/x
}
ff(3)
ff(NULL)
oo <- ploptions(printnotices=FALSE)
ff(NULL)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.