Re: [R] Can DEoptim trace output be customized?

2013-05-10 Thread David Reiner
Katharine, Thank you for the pointer, and thanks to Josh Ulrich and William Dunlap for good suggestions. (Also thanks to Dirk Eddelbuettel for shaming me into modifying the code.) William's fnTracer wrapper technique doesn't require rebuilding the package, so it's easier in some ways, especially

[R] Can DEoptim trace output be customized?

2013-05-09 Thread David Reiner
I'm running DEoptim - it works great! (A HUGE THANK YOU to David Ardia, Katharine Mullen, Brian Peterson, and Joshua Ulrich, and Kris Boudt!!!). Sometimes I set trace to a number so I can see a few intermediate points in the optimization. However, I have a large number of variables and would

Re: [R] Can DEoptim trace output be customized?

2013-05-09 Thread Joshua Ulrich
Hi David, Unfortunately, there's no way for the user to do that. You would need to change line 522 in de4_0.c (where the printing occurs) and rebuild/install the package. Best, -- Joshua Ulrich | about.me/joshuaulrich FOSS Trading | www.fosstrading.com R/Finance 2013: Applied Finance with

Re: [R] Can DEoptim trace output be customized?

2013-05-09 Thread Katharine Mullen
Dear David, The package doesn't have an option to customize the output of the trace. However, you can create a custom version of the package that doesn't print the parameters. Get the package source code, uncompress it, and find the file de4_0.c in the src/ directory. Then comment out the

Re: [R] Can DEoptim trace output be customized?

2013-05-09 Thread William Dunlap
Reiner Cc: r-help@r-project.org Subject: Re: [R] Can DEoptim trace output be customized? Dear David, The package doesn't have an option to customize the output of the trace. However, you can create a custom version of the package that doesn't print the parameters. Get the package source