[R] Supressing the enumeration of output in console
Greg.Snow at imail.org
Wed May 20 21:08:33 CEST 2009
Use the 'cat' function to put text on the console without any extra decoration (you are then responsible for all formatting including line feeds).
Hope this helps,
Gregory (Greg) L. Snow Ph.D.
Statistical Data Center
greg.snow at imail.org
> -----Original Message-----
> From: r-help-bounces at r-project.org [mailto:r-help-bounces at r-
> project.org] On Behalf Of ZeMajik
> Sent: Wednesday, May 20, 2009 1:04 PM
> To: r-help at r-project.org
> Subject: [R] Supressing the enumeration of output in console
> Pretty low content question but I've had major trouble finding an
> answer for
> it so I hope it's alright.
> I'm obviously new to R, and have been trying to get rid of the
> output I get in the console.
> What I mean more specifically is that
> comes out as
>  4
> and I'd like to get rid of the listing .
> This isn't usually a problem when working with the console but when
> scripts that print out lines of text it gives a rather unattractive
> in the console.
> Thanks in advance!
> [[alternative HTML version deleted]]
> R-help at r-project.org mailing list
> PLEASE do read the posting guide http://www.R-project.org/posting-
> and provide commented, minimal, self-contained, reproducible code.
More information about the R-help