Skip to content
Back to formatted view

Raw Message

Message-ID: <Pine.GSO.4.31.0509251207450.18680-100000@toucan.stats>
Date: 2005-09-25T11:10:10Z
From: Brian Ripley
Subject: summary nls output
In-Reply-To: <20050925102613.M74173@cc.kmu.edu.tw>

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