[R] Hide return values
David Winsemius
dwinsemius at comcast.net
Sun Nov 17 14:28:45 CET 2013
On Nov 17, 2013, at 3:21 AM, Chris89 wrote:
> Hi everyone!
>
> I am in the process of writing an R-package and while writing a
> summary
> function, I have come across a problem. I am able to print a summary
> table
> (as in a standard glm() summary) by using *cat()* but the values I
> return is
> also printet.
> How am I able to remove the return values from being printet, but
> still
> being able to grab using e.g. summary$coeff??
?invisible
--
David.
More information about the R-help
mailing list