[R] summary() within a function

uaca@alumni.uv.es uaca at alumni.uv.es
Wed Jan 14 09:24:22 CET 2004

I have the following function

f <- function {


	model <- lm(rttx[,1] ~ rttx[,2] + 0);


while summary(model) shows the summary if I execute the function line by line
in the Command Line Interface, if I call f() summary is silent

how to solve it? or is there workaround?

thanks in advance


                Debian GNU/Linux: a dream come true
"Computers are useless. They can only give answers."            Pablo Picasso

--->	Visita http://www.valux.org/ para saber acerca de la	<---
--->	Asociación Valenciana de Usuarios de Linux		<---

More information about the R-help mailing list