[R] How to stop function printing unwanted output?

Tymek W es_uomikim at op.pl
Thu Aug 6 17:42:36 CEST 2009


Hi,

I want to use an output of one function (LSD.test) in other. How is it
that while saving output from LSD.test to variable, it prints own
output out?

The function could be simplified to:

fun <- function ( ... ) {
    ...
    lsd <- LSD.test(data[1], data[2], df, mse)
   ...
}

In my example, I don't want LSD.test to print any output, I just want
to use some of it later... How to stop it printing anything?

Greetz,
Timo




More information about the R-help mailing list