Re: [R] suppress output of neural network for use in Sweave

From: Barry Rowlingson <B.Rowlingson_at_lancaster.ac.uk>
Date: Thu 16 Jun 2005 - 02:23:41 EST

Thorstensen Nicolas wrote:
> Hi!
>
> How can I suppress the output of the function nnet in the library(nnet) ?

  ?nnet suggests adding trace=FALSE to the arguments.

  In other cases if functions dont have this sort of option then on a Unix box you can wrap your function calls in sink("/dev/null") [do stuff] sink() to send output to a black hole. Not sure what the Windows equivalent is.

Baz



R-help@stat.math.ethz.ch mailing list
https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html Received on Thu Jun 16 02:33:17 2005

This archive was generated by hypermail 2.1.8 : Fri 03 Mar 2006 - 03:32:42 EST