search for: nofunction

Displaying 12 results from an estimated 12 matches for "nofunction".

2025 Jan 19
2
Parser For Line Number Tracing
...:39?AM Duncan Murdoch <murdoch.duncan at gmail.com> wrote: > > On 2025-01-18 8:27 p.m., Ivo Welch wrote: > > I am afraid my errors are worse! (so are my postings. I should have > > given an example.) > > > > ``` > > x <- 1 > > y <- 2 > > nofunction("something stupid I am doing!") > > z <- 4 > > ``` > > > > and > > > > ``` > >> source("where-is-my-water.R") > > Error in nofunction("something stupid I am doing!") : > > could not find function "nofu...
2025 Jan 19
1
Parser For Line Number Tracing
On 2025-01-18 8:27 p.m., Ivo Welch wrote: > I am afraid my errors are worse! (so are my postings. I should have > given an example.) > > ``` > x <- 1 > y <- 2 > nofunction("something stupid I am doing!") > z <- 4 > ``` > > and > > ``` >> source("where-is-my-water.R") > Error in nofunction("something stupid I am doing!") : > could not find function "nofunction" > ``` > > and no tra...
2025 Jan 19
3
[External] Re: Parser For Line Number Tracing
...doch.duncan at gmail.com> wrote: >> >> On 2025-01-18 8:27 p.m., Ivo Welch wrote: >>> I am afraid my errors are worse! (so are my postings. I should have >>> given an example.) >>> >>> ``` >>> x <- 1 >>> y <- 2 >>> nofunction("something stupid I am doing!") >>> z <- 4 >>> ``` >>> >>> and >>> >>> ``` >>>> source("where-is-my-water.R") >>> Error in nofunction("something stupid I am doing!") : >>> could n...
2025 Jan 19
1
Parser For Line Number Tracing
I am afraid my errors are worse! (so are my postings. I should have given an example.) ``` x <- 1 y <- 2 nofunction("something stupid I am doing!") z <- 4 ``` and ``` > source("where-is-my-water.R") Error in nofunction("something stupid I am doing!") : could not find function "nofunction" ``` and no traceback is available.
2025 Jan 20
2
[External] Re: Parser For Line Number Tracing
...ncan Murdoch On 2025-01-20 9:37 a.m., Duncan Murdoch wrote: > Sorry, I'm not seeing the first problem now: > options(show.error.locations = TRUE) works fine. Not sure what I did > wrong before. > > I'm still seeing `traceback()` failing to report the attempt to call > nofunction(). I suppose this is because a context is never set up for > the failed call. Perhaps findFun3 could set up a fake context so that > traceback() adds one more entry? > > Duncan Murdoch > > > On 2025-01-19 3:39 p.m., Duncan Murdoch wrote: >> Thanks for pointing out th...
2025 Jan 20
1
[External] Re: Parser For Line Number Tracing
Sorry, I'm not seeing the first problem now: options(show.error.locations = TRUE) works fine. Not sure what I did wrong before. I'm still seeing `traceback()` failing to report the attempt to call nofunction(). I suppose this is because a context is never set up for the failed call. Perhaps findFun3 could set up a fake context so that traceback() adds one more entry? Duncan Murdoch On 2025-01-19 3:39 p.m., Duncan Murdoch wrote: > Thanks for pointing out the options. Using > > opt...
2025 Jan 19
1
[External] Re: Parser For Line Number Tracing
...>>> >>> On 2025-01-18 8:27 p.m., Ivo Welch wrote: >>>> I am afraid my errors are worse! (so are my postings. I should have >>>> given an example.) >>>> >>>> ``` >>>> x <- 1 >>>> y <- 2 >>>> nofunction("something stupid I am doing!") >>>> z <- 4 >>>> ``` >>>> >>>> and >>>> >>>> ``` >>>>> source("where-is-my-water.R") >>>> Error in nofunction("something stupid I am doing!&...
2025 Jan 21
1
[External] Re: Parser For Line Number Tracing
...-01-20 9:37 a.m., Duncan Murdoch wrote: >> Sorry, I'm not seeing the first problem now: >> options(show.error.locations = TRUE) works fine. Not sure what I did >> wrong before. >> >> I'm still seeing `traceback()` failing to report the attempt to call >> nofunction(). I suppose this is because a context is never set up for >> the failed call. Perhaps findFun3 could set up a fake context so that >> traceback() adds one more entry? >> >> Duncan Murdoch >> >> >> On 2025-01-19 3:39 p.m., Duncan Murdoch wrote: >>&g...
2025 Jan 19
1
[External] Re: Parser For Line Number Tracing
...> > >> On 2025-01-18 8:27 p.m., Ivo Welch wrote: > >>> I am afraid my errors are worse! (so are my postings. I should have > >>> given an example.) > >>> > >>> ``` > >>> x <- 1 > >>> y <- 2 > >>> nofunction("something stupid I am doing!") > >>> z <- 4 > >>> ``` > >>> > >>> and > >>> > >>> ``` > >>>> source("where-is-my-water.R") > >>> Error in nofunction("something stupid I am...
2025 Jan 19
1
[External] Re: Parser For Line Number Tracing
...> > >> On 2025-01-18 8:27 p.m., Ivo Welch wrote: > >>> I am afraid my errors are worse! (so are my postings. I should have > >>> given an example.) > >>> > >>> ``` > >>> x <- 1 > >>> y <- 2 > >>> nofunction("something stupid I am doing!") > >>> z <- 4 > >>> ``` > >>> > >>> and > >>> > >>> ``` > >>>> source("where-is-my-water.R") > >>> Error in nofunction("something stupid I am...
2025 Jan 19
1
[External] Re: Parser For Line Number Tracing
...> > >> On 2025-01-18 8:27 p.m., Ivo Welch wrote: > >>> I am afraid my errors are worse! (so are my postings. I should have > >>> given an example.) > >>> > >>> ``` > >>> x <- 1 > >>> y <- 2 > >>> nofunction("something stupid I am doing!") > >>> z <- 4 > >>> ``` > >>> > >>> and > >>> > >>> ``` > >>>> source("where-is-my-water.R") > >>> Error in nofunction("something stupid I am...
2025 Jan 19
1
Parser For Line Number Tracing
On 2025-01-18 6:41 p.m., Ivo Welch wrote: > I often find myself hunting where in my program an error has happened, > (of course, in R, many error messages are mysterious in themselves, > too, making it even harder.) the way I do it is mostly with inserting > `message()` statements. > > what I would really like to have is a parser that inserted 'curline > <<-