invisible(gc())

worked perfectly. Thanks Jeff.

@ Josh: I know how to toggle showing/hiding command echos, but I
haven't figured out how to toggle on/off any printed output.




On Sat, Oct 9, 2010 at 5:10 PM, Robin Jeffries <rjeffr...@ucla.edu> wrote:
> I must be reading the help file for gc() wrong. I thought it said that
> gc(verbose=FALSE) will run the garbage collection without printing the
> Ncells/Vcells summary. However, this is what I get:
>
> gc(verbose = FALSE)
>         used (Mb) gc trigger  (Mb) max used  (Mb)
> Ncells 267097 14.3     531268  28.4   531268  28.4
> Vcells 429302  3.3   20829406 159.0 55923977 426.7
>
> I'm embedding this in an Sweave/TeX file, so I *really* can't have
> this printing out. Suggestions other than manually editing the TeX
> file?
>
> Robin Jeffries
> MS, DrPH Candidate
> Department of Biostatistics
> UCLA
> 530-624-0428
>

______________________________________________
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.

Reply via email to