[R] finding out more about an object, e.g. lm

Thomas Lumley tlumley at u.washington.edu
Tue Jul 5 16:20:35 CEST 2005

On Tue, 5 Jul 2005, Sean O'Riordain wrote:

> Hi!
> I'm trying to use lm(y~x) amongst others in an automated way; I've
> gone through the section on indexing in R-lang and I've looked MASS4.
> How do I find out more about the structure of the returned object?  In
> perl I can look at object structure pretty-printed in the debugger -
> is there an R equivalent?

str(), or browseEnv(), or the improved object browser in the JGR GUI.


More information about the R-help mailing list