On Fri, 3 Dec 2021 at 00:37, Fox, John <j...@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]] ______________________________________________ R-devel@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-devel