[R] Not a bug - Was: [R] A bug report?
Jason Turner
jasont at indigoindustrial.co.nz
Thu Apr 15 08:31:15 CEST 2004
Ajay Shah wrote:
> where it is asif the summary.lm(m) statement never occurred. If I put
> in a statement print(m) it works, but the summary.lm(m) does not work.
>
> Now here's what's weird: Suppose I remove the statement that comes
> AFTER this summary.lm(m) statement. That is, I don't say
> details = summary.lm(m)
> as the last line of the function. In this case, the program works fine!
>
> I'm most confused. I can't see how putting in an assignment statement
> AFTER a function call can contaminate a PREVIOUS statement. I would be
> most happy if you could guide me...
See the FAQ about summary() methods, and what they do.
http://cran.r-project.org/doc/FAQ/R-FAQ.html#Why%20is%20the%20output%20not%20printed%20when%20I%20source()%20a%20file%3f
Cheers
Jason
More information about the R-help
mailing list