Thanks Ivan. I did not know about ` .Internal(printDeferredWarnings())`. It
does provide a solution for what I need.
Best,
Laurent
Le mer. 26 avr. 2023 à 06:23, Ivan Krylov a écrit :
> В Sun, 23 Apr 2023 13:33:16 -0400
> Laurent Gautier пишет:
>
> > When tracing what happens during an error I f
В Sun, 23 Apr 2023 13:33:16 -0400
Laurent Gautier пишет:
> When tracing what happens during an error I found that
> verrorcall_dflt() in src/main/errors.c calls PrintWarnings(). That
> function is not part of R's C-API though.
I've tried reading the source code and came to a similar conclusion.
Hi,
I have an embedded R, with the evaluation of expressions happening over
time during the lifespan of the process. I tried either `R_eval()` and
`R_tryEval()` for the evaluation. The issue I have is that the processing
of warnings does not happen until the process exits and/or R is shut down.
E