[R] Why does summary does not produce output?
Uwe Ligges
ligges at statistik.uni-dortmund.de
Mon Jul 5 13:52:51 CEST 2004
Peter Dalgaard wrote:
> "Jozef De Herdt" <jozef.deherdt at pandora.be> writes:
>
>
>>If I run the example from written with winedt. The summary command does not
>>produce any output. It does when I repeat the command manualy in R. Can
>>someone explain me what can be the problem?
>>
>> library(MASS)
>> data(anorexia)
>> anorex.1 <- glm(Postwt ~ Prewt + Treat + offset(Prewt),
>> family = gaussian, data = anorexia)
>> summary(anorex.1)
>
>
> Is the winedt interface like source() or like source(...,echo=TRUE)?
source()
> If the former, you need to print() objects explicitly, including
> summaries.
>
Well, you can also submit code using the "paste" button or shortcut (Alt-P).
Uwe Ligges
More information about the R-help
mailing list