Skip to content
Prev 280797 / 398503 Next

missing value where TRUE/FALSE needed

Does this look similar to the error you are getting:
Error in while (NA == TRUE) 1 : missing value where TRUE/FALSE needed

SO 'notconverged' is probably equal to NA.  BTW, what is the value of
'tol'; I do not see it defined.  So when computing 'notconverged' you
have generated an NA.  You can test it to see if this is true.

You can use the following command:

options(error=utils::recover)

and then learn how to use the 'browser' to examine variables when the
error occurs.

On Fri, Dec 23, 2011 at 5:44 AM, Michael Pearmain
<michael.pearmain at gmail.com> wrote: