[R] ignore warning messages?

Hua Li hualihua at yahoo.com
Tue Jul 1 18:11:28 CEST 2008


Hi All,

I'm working with R and want to ignore the warning messages given, is there a way to stop R from giving out warning messages any more?

an example:

tt = "test"
as.numeric(tt)

would give me the following message:

[1] NA
Warning message:
NAs introduced by coercion 

I decide to ignore the warning message for now and don't want it to show any more, can someone help?

Thanks!


Hua



More information about the R-help mailing list