.
Best REgards
Alex
--- On Thu, 11/18/10, Michael Bedward michael.bedw...@gmail.com wrote:
From: Michael Bedward michael.bedw...@gmail.com
Subject: Re: [R] How to catch warnings
To: Alaios ala...@yahoo.com
Cc: Rhelp r-help@r-project.org
Date: Thursday, November 18, 2010, 1:26 AM
Hi Alex,
Something
...@gmail.com wrote:
From: Michael Bedward michael.bedw...@gmail.com
Subject: Re: [R] How to catch warnings
To: Alaios ala...@yahoo.com
Cc: Rhelp r-help@r-project.org
Date: Thursday, November 18, 2010, 1:26 AM
Hi Alex,
Something like this ?
x - 1:4
y - list(good=2:5, bad=3:5)
for (yy in y
commands in console
to check what was going on.
Is that possible?
Regards
Alex
--- On Thu, 11/18/10, Michael Bedward michael.bedw...@gmail.com wrote:
From: Michael Bedward michael.bedw...@gmail.com
Subject: Re: [R] How to catch warnings
To: Alaios ala...@yahoo.com
Cc: Rhelp r-help@r
/10, Michael Bedward michael.bedw...@gmail.com wrote:
From: Michael Bedward michael.bedw...@gmail.com
Subject: Re: [R] How to catch warnings
To: Alaios ala...@yahoo.com
Cc: Rhelp r-help@r-project.org
Date: Thursday, November 18, 2010, 1:26 AM
Hi Alex,
Something like this ?
x - 1:4
...@gmail.com
Subject: Re: [R] How to catch warnings
To: Alaios ala...@yahoo.com
Cc: Michael Bedward michael.bedw...@gmail.com, Rhelp
r-help@r-project.org
Date: Thursday, November 18, 2010, 11:37 AM
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
On 11/18/2010 11:11 AM, Alaios wrote:
Dear Michael,
I would
while the prompt is shown.
Cheers,
Rainer
Regards
Alex
--- On *Thu, 11/18/10, Rainer M Krug /r.m.k...@gmail.com/* wrote:
From: Rainer M Krug r.m.k...@gmail.com
Subject: Re: [R] How to catch warnings
To: Alaios ala...@yahoo.com
Cc: Michael Bedward michael.bedw
Hello when my code executes I receive the message that were some warnings. I
want to catch warning messages at run time so to print some local variables and
try to understand why this warning happens.
I searched on internet and I tried withCallingHandlers(
which seems to work but as I used
Hi Alex,
Something like this ?
x - 1:4
y - list(good=2:5, bad=3:5)
for (yy in y) {
tryCatch( x - cbind(x, yy),
warning=function(w) cat(problem values: , yy, \n)
)
}
Michael
On 18 November 2010 03:19, Alaios ala...@yahoo.com wrote:
Hello when my code executes I receive the
8 matches
Mail list logo