[R] Why does summary does not produce output?

Peter Dalgaard p.dalgaard at biostat.ku.dk
Mon Jul 5 10:32:36 CEST 2004


"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)? 

If the former, you need to print() objects explicitly, including
summaries.

-- 
   O__  ---- Peter Dalgaard             Blegdamsvej 3  
  c/ /'_ --- Dept. of Biostatistics     2200 Cph. N   
 (*) \(*) -- University of Copenhagen   Denmark      Ph: (+45) 35327918
~~~~~~~~~~ - (p.dalgaard at biostat.ku.dk)             FAX: (+45) 35327907




More information about the R-help mailing list