Ivan,

Try this:

invisible(capture.outuput( model <- nls2 (...) ))


On Wed, Nov 24, 2010 at 12:07 PM, Ivan Allaman <ivanala...@yahoo.com.br>wrote:

>
> 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 model
>  model: ... ~ ...
>   Date: NULL
>    The B k
>  ... ... ...
>  residual sum-of-squares: ...
>
> Number of iterations to convergence: ...
> Achieved convergence tolerance: ...
>
> I would not print automatically, I would like to remain stored in the
> object
> "model", and only if I authorize impressed, calling the "model" or a
> summary. Does anyone know how to get around this?
> --
> View this message in context:
> http://r.789695.n4.nabble.com/The-nls2-function-automatically-prints-the-object-tp3057350p3057350.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.
>



-- 
Henrique Dallazuanna
Curitiba-Paraná-Brasil
25° 25' 40" S 49° 16' 22" O

        [[alternative HTML version deleted]]

______________________________________________
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.

Reply via email to