[R] GC verbose=false still showing report

Robin Jeffries rjeffries at ucla.edu
Sun Oct 10 02:10:17 CEST 2010


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



More information about the R-help mailing list