eow {dbd} | R Documentation |
Set or query the value of the "maxitErrorOrWarn"
option.
Description
Chooses (set.eow()
) or queries (get.eow()
), the
reaction to maxit
being exceeded in mleDb()
or mleBb()
. The possible reactions are to throw
an error or to issue a warning. The choice is effected
by calling set.eow()
which sets the value of
options()[["maxitErrorOrWarning"]]
. The current choice
is revealed by get.eow()
. This choice is set equal to
"error"
at startup.
Usage
set.eow(eow = c("error", "warn"))
get.eow()
Arguments
eow |
Character string that specifies the reaction to |
Value
No value is returned by set.eow()
. the value of
"maxitErrorOrWarn"
in options()
.
The function get.eow()
returns the current value of
options[["maxitErrorOrWarn"]]
.
Note
It seems unlikely that you would want to change the option from the value that is set at startup. This function is provided “just in case”.
Author(s)
Rolf Turner r.turner@auckland.ac.nz
See Also
Examples
get.eow() # Is "error" at startup.
set.eow("w") # Changes the option from "error" to "warning".
set.eow("e") # Changes it back again.