Skip to content
Prev 342833 / 398506 Next

keep information on the number of warnings

On Aug 4, 2014, at 9:24 AM, Luis Borda de Agua wrote:

            
I have just disproven my initial hypothesis that I formed upon reading the R code of `warnings` that it had to do with the environment in which the warning was generated:
Warning messages:
1: In g() : inner warn
2: In f() : outer warn
Warning messages:
1: In g() : inner warn
2: In f() : outer warn

So, I simply don't know (and you have provided no example to reproduce the issue). May I remind you to include context from earlier messages? Looking back at your first message the number 36 appears rather than 38. Perhaps the number of warning varies from run to run? You would wnat to compare the number from such a message to the output of length(warnings()) after the run rather than before it.

---------
--------------------

David.
David Winsemius
Alameda, CA, USA