[R] summary nls output

Prof Brian Ripley ripley at stats.ox.ac.uk
Sun Sep 25 13:10:10 CEST 2005


On Sun, 25 Sep 2005, Chun-Ying Lee wrote:

> Dear R user:
>     I bulid a package, and in the package I use the function "nls"
> to solve some questions. If I have two sets of data, and I want to
> summary these two data's nls output, I write the command in the
> package source code like:
> {
> ..........
> summary(fm1)
> summary(fm2)
> }
> then i compiler the package and use "Install package(s) from
> local zip files" to install my package.
> But when I run the package, it just show the summary(fm2), the
> part of summary(fm1) miss, why is it so?

You forgot to print it.  See the FAQ 7.16 and 7.22.

> Any suggestions would be most helpful! Thanks!!

Did you read the posting guide?  That does ask you to read the FAQ before
posting.

-- 
Brian D. Ripley,                  ripley at stats.ox.ac.uk
Professor of Applied Statistics,  http://www.stats.ox.ac.uk/~ripley/
University of Oxford,             Tel:  +44 1865 272861 (self)
1 South Parks Road,                     +44 1865 272860 (secr)
Oxford OX1 3TG, UK                Fax:  +44 1865 272595




More information about the R-help mailing list