[Rd] capturing multiple warnings in tryCatch()
Adrian Dușa
du@@@@dr|@n @end|ng |rom gm@||@com
Fri Dec 3 19:55:53 CET 2021
On Fri, 3 Dec 2021 at 00:37, Fox, John <jfox using mcmaster.ca> wrote:
> Dear Henrik, Simon, and Adrian,
>
> As it turns out Adrian's admisc::tryCatchWEM() *almost* does what I want,
> which is both to capture all messages and the result of the expression
> (rather than the visible representation of the result). I was easily able
> to modify tryCatchWEM() to return the result.
>
Glad it helps.
I would be happy to improve the function, should you send a reprex with the
desired final result.
Best wishes,
Adrian
[[alternative HTML version deleted]]
More information about the R-devel
mailing list