he rkward windows while the prompt is shown.
Cheers,
Rainer
>
> Regards
> Alex
>
> --- On *Thu, 11/18/10, Rainer M Krug //* wrote:
>
>
> From: Rainer M Krug
> Subject: Re: [R] How to catch warnings
> To: "Alaios"
> Cc: "Michael Be
st(good=2:5, bad=3:5)
for (yy in y) {
tryCatch( x <- cbind(x, yy),
warning=browser
)
}
Cheers,
Rainer
>
> Best REgards
>
> Alex
>
> --- On Thu, 11/18/10, Michael Bedward wrote:
>
> From: Michael Bedward
> Subject: Re: [R] How to catch warnings
> To
;
> Best REgards
>
> Alex
>
> --- On Thu, 11/18/10, Michael Bedward wrote:
>
> From: Michael Bedward
> Subject: Re: [R] How to catch warnings
> To: "Alaios"
> Cc: "Rhelp"
> Date: Thursday, November 18, 2010, 1:26 AM
>
> Hi Alex,
>
e execution at the point it was and let your write commands in console
> to check what was going on.
>
> Is that possible?
> Regards
> Alex
>
> --- On Thu, 11/18/10, Michael Bedward wrote:
>
> From: Michael Bedward
> Subject: Re: [R] How to catch warnings
> To: "
On Thu, 11/18/10, Michael Bedward wrote:
>
> From: Michael Bedward
> Subject: Re: [R] How to catch warnings
> To: "Alaios"
> Cc: "Rhelp"
> Date: Thursday, November 18, 2010, 1:26 AM
>
> Hi Alex,
>
> Something like this ?
>
> x <- 1:4
>
.
Best REgards
Alex
--- On Thu, 11/18/10, Michael Bedward wrote:
From: Michael Bedward
Subject: Re: [R] How to catch warnings
To: "Alaios"
Cc: "Rhelp"
Date: Thursday, November 18, 2010, 1:26 AM
Hi Alex,
Something like this ?
x <- 1:4
y <- list(good=2:5, bad=3:5)
f
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 wrote:
> Hello when my code executes I receive the message tha
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 Rkwar
8 matches
Mail list logo