On 12/23/21 3:11 AM, Stephen H. Dawson, DSL via R-help wrote:
Hi,
I am thinking about awareness of errors when an R script runs.
My concern is I have an error-free script. I run it for months on end
without problems. Then, something changes somewhere causing an error.
My wonderment is how
You want to read this:
http://adv-r.had.co.nz/Exceptions-Debugging.html
It describes all the ways that R can report a problem
and all the ways you can catch such a report while still in R.
Let me heartily recommend the whole site, or better yet, the book
https://www.amazon.com/dp/0815384572/ref=
.
For now, I think I will step aside and focus my efforts elsewhere.
-Original Message-
From: Stephen H. Dawson, DSL
Sent: Friday, December 24, 2021 9:49 AM
To: Avi Gross ; 'r-help mailing list'
Subject: Re: [R] Error Awareness
Thank you, Avi. I appreciate your reply. I agre
. But if
things do happen, then your code is not robust enough.
-Original Message-
From: R-help On Behalf Of Stephen H. Dawson,
DSL via R-help
Sent: Thursday, December 23, 2021 11:17 AM
To: Bert Gunter
Cc: R-help
Subject: Re: [R] Error Awareness
Hi Bert,
Thanks for the reply.
The use c
robust enough.
-Original Message-
From: R-help On Behalf Of Stephen H. Dawson,
DSL via R-help
Sent: Thursday, December 23, 2021 11:17 AM
To: Bert Gunter
Cc: R-help
Subject: Re: [R] Error Awareness
Hi Bert,
Thanks for the reply.
The use case I presented involves working code, not
You still are not exhibiting signs of understanding Bert's response, and your
question is vague, particularly to the extent that it could be pertinent to the
R language (and therefore to the topic of this list). R itself just raises an
error condition that custom tryCatch or default handling wil
Hi Bert,
Thanks for the reply.
The use case I presented involves working code, not diagnosing a script
in development.
The concern is running a script where something changes outside of the
script, as I stated. An example of a change is a data source changing
perhaps the columns in the dat
?tryCatch
This list is not meant for tutorials. A web search on "find errors in
R code" brought up what appeared to be many resources to address your
question. Please make use of such resources before posting here. Also,
please read and follow the posting gui)de linked below to find out
what sort
Hi,
I am thinking about awareness of errors when an R script runs.
My concern is I have an error-free script. I run it for months on end
without problems. Then, something changes somewhere causing an error. My
wonderment is how R will tell me I had an error in the script, but the
rest of the
9 matches
Mail list logo