Message-ID: <NEBBIPHDAMMOKDKPOFFIOEDPDDAA.abunn@whrc.org>
Date: 2005-04-11T12:35:43Z
From: Andy Bunn
Subject: How to suppress the printing of warnings (Windows)?
In-Reply-To: <44B42F3306B4BC4A9DBC8BDEE92947700291B7A5@exs1.backup>
> I'm a newbie in R. I am running simulations using a fixed
> bandwidth in nonparametric regressions, sending all the output to
> a file myoutput.txt using sink("myoutput.txt"), & R is printing
> all warnings by the end of the simulation on the file. I know the
> source of the problem & can take care of it. However, finding a
> 50 MB file (where all the output is printed, e.g. myoutput.txt)
> by the end of the simulation exercise is not quite pleasant. How
> could I turn them off completely?, so they are not printed in
> myoutput.txt file.
Look at ?options and scroll to 'warn.' Also, ?warnings gives an example.
HTH, Andy