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

From: Thorstensen Nicolas <thorstensen_at_gmx.net>
Date: Thu 16 Jun 2005 - 01:53:06 EST


Hi!

How can I suppress the output of the function nnet in the library(nnet) ?

I get the following output :

> nn = nnet(x, y, size=5, maxit=40, linout=TRUE);
# weights: 16
initial value 33.511291

iter  10 value 5.792440
iter  20 value 5.279584
iter  30 value 4.800890
iter  40 value 4.593410

final value 4.593410
stopped after 40 iterations

Since I train many networks and use Sweave I donīt want the output in the latex code. So how can I suppress this output?

thx
jeff



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 01:55:46 2005

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