Hi,

I raised this issue at stackoverflow and it was suggested to raise it here:

>From the current help page, it is unclear that "warnings()" does not clear
after rm(list=ls()). Currently the page states that:

"Warning: It is undocumented where last.warning is stored nor that it is
visible, and this is subject to change. Prior to R 2.4.0 it was stored in
the workspace, but no longer."

Yet, I suggest that, if to keep the current behavior or until the behavior
is changed, at least write explicitly in the help file something like
"clearing the global environment will not clear the warning list. To do so
use assign("last.warning", NULL, envir = baseenv())"

Thank you,
Elad Zippory

        [[alternative HTML version deleted]]

______________________________________________
R-devel@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-devel

Reply via email to