From henrik.bengtsson at gmail.com  Wed May  4 21:41:00 2016
From: henrik.bengtsson at gmail.com (Henrik Bengtsson)
Date: Wed, 4 May 2016 12:41:00 -0700
Subject: [Rd] Is it possible to retrieve the last error? (not error
	*message*)
Message-ID: <CAFDcVCSGG-wpsGFQ5X93z8caC+6VapVqYrX1iA9+55NuLW_SGg@mail.gmail.com>

Hi,

at the R prompt, is it possible to retrieve the last error (as in
condition object of class "error")?

I'm not asking for geterrmessage(), which only returns the error
message (as a character string).  I'm basically looking for a
.Last.error or .Last.condition, analogously to .Last.value for values,
which can be used when it is "too late" (not possible) to go back an
use try()/tryCatch().

Thanks,

Henrik



[Rd] Is it possible to retrieve the last error? (not error *message*)
Henrik Bengtsson