[R] Locate a warning

Liaw, Andy andy_liaw at merck.com
Wed Feb 4 00:16:06 CET 2004


Try options(warn=2) and run your code again, and perhaps traceback()
afterward.

HTH,
Andy

> From: Sebastien Durand
> 
> I am writing my own program in R through Mac os X terminal.
> Here is my question, is there an easy way to find on which line 
> warnings are created
> 
> I am getting the following warning:
> 
> Warning message:
> number of items to replace is not a multiple of replacement length
> 
> You I just would be happy to find what cause it
> 
> 
> Thanks a lot
> 
> ______________________________________________
> R-help at stat.math.ethz.ch mailing list
> https://www.stat.math.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide! 
> http://www.R-project.org/posting-guide.html
> 
> 


------------------------------------------------------------------------------
Notice:  This e-mail message, together with any attachments,...{{dropped}}




More information about the R-help mailing list