Original Message-
> From: r-help-boun...@r-project.org [mailto:r-help-boun...@r-project.org] On
> Behalf
> Of Christofer Bogaso
> Sent: Wednesday, June 12, 2013 12:07 PM
> To: r-help
> Subject: [R] Fetching and Saving warnings from a function
>
> Hello again,
>
>
Hello again,
Let say I have following user defined function:
Myfn <- function(x) {
if (x < 0) {
warning("Negative value")
}
return(x)
}
Now I want to create some function which will save the Warnings from
'Myfn', so that I can use those warnings later for more analysis. Therefore
I was thinking
2 matches
Mail list logo