notice {plgraphics} | R Documentation |
Generate a Notice
Description
Generate a notice to be sent to output
Usage
notice(..., printnotices = NULL)
Arguments
... |
contents of the notice, will be pasted together |
printnotices |
logical: Should the notice be printed? Default is the respective pl option. |
Details
This function is very similar to 'message'
Value
None.
Author(s)
Werner A. Stahel
See Also
Examples
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)
[Package plgraphics version 1.2 Index]