The following shows how to use trace() to track and store information about evaluations of the objective function: https://stat.ethz.ch/pipermail/r-help/2010-September/252790.html
Bill Dunlap Spotfire, TIBCO Software wdunlap tibco.com > -----Original Message----- > From: r-help-boun...@r-project.org [mailto:r-help-boun...@r-project.org] On > Behalf > Of sffarooqi > Sent: Sunday, October 14, 2012 7:36 AM > To: r-help@r-project.org > Subject: [R] how to show iterations > > Hi, > I am new to R, and am working on some optimization problems - I was > wondering if there was a way that I could show all the iterations in R -i.e. > showing for each iteration, what the iteration is, how much the function is, > what the norm of the gradient would be... > Any help is greatly appreciated! > thank you!! > > > > > -- > View this message in context: > http://r.789695.n4.nabble.com/how-to-show-iterations- > tp4646133.html > Sent from the R help mailing list archive at Nabble.com. > > ______________________________________________ > R-help@r-project.org mailing list > https://stat.ethz.ch/mailman/listinfo/r-help > PLEASE do read the posting guide http://www.R-project.org/posting-guide.html > and provide commented, minimal, self-contained, reproducible code. ______________________________________________ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code.