Skip to content

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

3 messages · Aya Anas, Bert Gunter, jim holtman

#
You're kidding, right?!

See ?traceback for browsing the call stack after an error.

Also ?browser, ?debug, and ?recover for other debugging options.


-- Bert
On Mon, Feb 18, 2013 at 1:28 PM, Aya Anas <aanas at feps.edu.eg> wrote:

  
    
#
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: