Skip to content
Prev 317840 / 398506 Next

error: Error in if (is.na(f0$objective)) { : argument is of length zero

Following up on what Bert said, also put

options(error=utils::recover)

at the start of the script so that on errors you get the traceback
printed out and the you can also use the browser to look at the values
of the objects at the point of the error.  This is debugging 101.
On Mon, Feb 18, 2013 at 4:28 PM, Aya Anas <aanas at feps.edu.eg> wrote: