[R] The nls2 function automatically prints the object!

2010-11-24 Thread Ivan Allaman
Good morning gentlemen! When I use the function nls2, and store it in an object, that object is automatically printed, without the summary or to draw the object. For example. model - nls2 (...) Number of iterations to convergence: ... Achieved convergence tolerance: ... Nonlinear regression

Re: [R] The nls2 function automatically prints the object!

2010-11-24 Thread Henrique Dallazuanna
Ivan, Try this: invisible(capture.outuput( model - nls2 (...) )) On Wed, Nov 24, 2010 at 12:07 PM, Ivan Allaman ivanala...@yahoo.com.brwrote: Good morning gentlemen! When I use the function nls2, and store it in an object, that object is automatically printed, without the summary or to