Greetings,
Error handling does not seem to work as expected.
When a handler for general conditions is provided in first position in the
handler list it will be called
regardless of what condition has been signalled.
See sample code, move "condition = function(c){...}" to first position in
h
?try
On Tue, Jun 24, 2008 at 1:59 PM, Sit Yee Kong <[EMAIL PROTECTED]> wrote:
>
> Hi All,
>
> The for-loop below stopped when error("Cannot get confidence intervals on
> var-cov components: Non-positive definite approximate variance-covariance")
> occurred.
> I assigned a row of NA values
> to t
Hi All,
The for-loop below stopped when error("Cannot get confidence intervals on
var-cov components: Non-positive definite approximate variance-covariance")
occurred.
I assigned a row of NA values
to the data frame "m1" manually and reset "j" in the for-loop every time error
returned. Im wo
On Thu, 31 Jan 2008, Rob Forsyth wrote:
> In some trial simulation work I need to create batch files that will
> repeatedly generate pseudoreplicate datasets and then create non-
> linear mixed effects models using nlme. Inevitably these models
> sometimes fail to converge but I need the batch fil
In some trial simulation work I need to create batch files that will
repeatedly generate pseudoreplicate datasets and then create non-
linear mixed effects models using nlme. Inevitably these models
sometimes fail to converge but I need the batch file to simply move on
to another simulation
On 12/09/2007 5:08 AM, Christian Schäfer wrote:
> Hi,
>
> is there a possibility to catch an occurring error and do an appropriate
> error handling? (like the "try-catch"-statement in other programming
> languages)
You could use the tryCatch() function (or try(), a simplified wrapper).
Duncan
Hi,
is there a possibility to catch an occurring error and do an appropriate
error handling? (like the "try-catch"-statement in other programming
languages)
For example:
It's quite annoying to run a script for hours only to detect an abortion
of the script because of an "subscript out of bound
7 matches
Mail list logo