[R] Suppressing iterations in DEoptim

Uwe Ligges ligges at statistik.tu-dortmund.de
Mon May 9 12:54:49 CEST 2011



On 09.05.2011 11:06, arnab.maity at dc.ibm.com wrote:
>
> Dear R users,
>
> During the the running of DEoptim function which belongs to "DEoptim"
> package it automatically gives the output like the following:
>
> Iteration: 1 bestvalit: 181.379847 bestmemit:    0.226499    1.395852
> Iteration: 2 bestvalit: 14.062649 bestmemit:    2.290357    5.597838
> Iteration: 3 bestvalit: 14.062649 bestmemit:    2.290357    5.597838
> Iteration: 4 bestvalit: 14.062649 bestmemit:    2.290357    5.597838
> Iteration: 5 bestvalit: 14.062649 bestmemit:    2.290357    5.597838
> Iteration: 6 bestvalit: 14.062649 bestmemit:    2.290357    5.597838
> Iteration: 7 bestvalit: 14.062649 bestmemit:    2.290357    5.597838
> Iteration: 8 bestvalit: 12.952513 bestmemit:    2.715709    7.691444
> Iteration: 9 bestvalit: 3.254643 bestmemit:    2.390151    5.597838
> Iteration: 10 bestvalit: 3.254643 bestmemit:    2.390151    5.597838
> Iteration: 11 bestvalit: 1.820207 bestmemit:    2.170718    4.779070
> Iteration: 12 bestvalit: 1.205168 bestmemit:    1.801629    3.320871
> Iteration: 13 bestvalit: 1.101356 bestmemit:    1.587130    2.605967
>
> Is their any procedure to suppress this i.e not to print this information?

Yes, the procedure is to read the help file, as you have been asked by 
the posting guide before posting.

?DEoptim points you to the help for ?DEoptim.control which has a trace 
argument that seems to be useful ...

Uwe Ligges



> Thank you for your kind reply.
>
>
>
> Thanks&  Regards
>
> Arnab Kumar Maity
>
> || IBM Global Process Services ||
> || 2nd Floor, VBC Solitaire ||
> || 47&  49, Bazullah Road || T Nagar ||
> || Chennai - 600017 || India ||
> || Email: arnab.maity at dc.ibm.com ||
> || Ph: +91 8939390048 ||
>
> ______________________________________________
> 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