s-news
[Top] [All Lists]

Re: info on warning message

To: "'Xao Ping'" <xao_ping@yahoo.com>, s-plus user list <s-news@lists.biostat.wustl.edu>
Subject: Re: info on warning message
From: "Austin, Matt" <maustin@amgen.com>
Date: Thu, 15 Dec 2005 07:04:35 -0800
Try
 
options(warn=2)
 
to convert the warning to an error, then you can use traceback to hunt for the issue.
 
--Matt
 
 
-----Original Message-----
From: s-news-owner@lists.biostat.wustl.edu [mailto:s-news-owner@lists.biostat.wustl.edu]On Behalf Of Xao Ping
Sent: Thursday, December 15, 2005 6:38 AM
To: s-plus user list
Subject: [S] info on warning message

Dear All:
Sometimes, quite unexpectedly, even when everything working perfectly fine, I receive the following warning:
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Warning messages:
Number of rows of result is not a multiple of vector length (arg 2) in: cbind(..1, ..2, deparse.level = deparse.level)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
I cannot relate this warning message to anything in my function (no "cbind" is used) , it looks falling to my session directly from the sky. Because it is not an error message, I cannot use the traceback() for hunting down the reason for the message. Is there any way to obtain a more detailed information in such cases?
 
Thank you in advance.
 
Xao Ping
 
R&R Pharmakinetics
Taiwan


Yahoo! Shopping
Find Great Deals on Holiday Gifts at Yahoo! Shopping
<Prev in Thread] Current Thread [Next in Thread>