В Thu, 21 Sep 2023 15:10:56 +0200
Jan Gorecki пишет:
> Do you by any chance know any examples of using
> R_withCallingErrorHandler? Or could you modify your example to use
> this instead?
Calling handlers are different from exiting handlers established by
tryCatch. Instead of replacing the value
On Thu, 21 Sep 2023 09:46:26 +0200
Jan Gorecki wrote:
> I would like to safely allocate R object from C. By safely I mean
> that, I can test if allocation succeeded or failed, and then raise
> exception myself.
> R_alloc and allocVector both raises exception straightaway, so I am
> not able to ha