[R] how to show iterations

William Dunlap wdunlap at tibco.com
Sun Oct 14 20:33:49 CEST 2012

The following shows how to use trace() to track and store information
about evaluations of the objective function:

Bill Dunlap
Spotfire, TIBCO Software
wdunlap tibco.com

> -----Original Message-----
> From: r-help-bounces at r-project.org [mailto:r-help-bounces at r-project.org] On Behalf
> Of sffarooqi
> Sent: Sunday, October 14, 2012 7:36 AM
> To: r-help at 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 at 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.

More information about the R-help mailing list