I'm working with a few functions (e.g. do.base.descriptions in the netstat package) that, in addition to returning an object with variables I want to extract, also print output. There is no way to turn this default printing behavior off in many of the functions. Is there a blanket way to suppress such printing, say, within a loop or a ddply statement? Thanks! -Jarrett ---------------------------------------- Jarrett Byrnes Postdoctoral Associate, Santa Barbara Coastal LTER Marine Science Institute University of California Santa Barbara Santa Barbara, CA 93106-6150 http://www.lifesci.ucsb.edu/eemb/labs/cardinale/people/byrnes/index.html [[alternative HTML version deleted]]
On Feb 16, 2010, at 1:31 PM, Jarrett Byrnes wrote:> I'm working with a few functions (e.g. do.base.descriptions in the > netstat package) that, in addition to returning an object with > variables I want to extract, also print output. There is no way to > turn this default printing behavior off in many of the functions. > > Is there a blanket way to suppress such printing, say, within a loop > or a ddply statement??capture.output ?sink> > Thanks! > > -JarrettDavid Winsemius, MD Heritage Laboratories West Hartford, CT