search for: showknownloc

Displaying 11 results from an estimated 11 matches for "showknownloc".

2025 Jan 19
2
Parser For Line Number Tracing
...: > > could not find function "nofunction" > > ``` > > > > and no traceback is available. > > Okay, I see. In that case traceback() doesn't report the line, but it > still is known internally. You can see it using the following function: > > showKnownLocations <- function() { > calls <- sys.calls() > srcrefs <- sapply(calls, function(v) if (!is.null(srcref <- attr(v, > > "srcref"))) { > srcfile <- attr(srcref, "srcfile") > paste0(basename(srcfile$filename), "#", srcref[1...
2025 Jan 19
1
Parser For Line Number Tracing
...quot;something stupid I am doing!") : > could not find function "nofunction" > ``` > > and no traceback is available. Okay, I see. In that case traceback() doesn't report the line, but it still is known internally. You can see it using the following function: showKnownLocations <- function() { calls <- sys.calls() srcrefs <- sapply(calls, function(v) if (!is.null(srcref <- attr(v, "srcref"))) { srcfile <- attr(srcref, "srcfile") paste0(basename(srcfile$filename), "#", srcref[1L]) } else ".")...
2025 Jan 19
3
[External] Re: Parser For Line Number Tracing
...function "nofunction" >>> ``` >>> >>> and no traceback is available. >> >> Okay, I see. In that case traceback() doesn't report the line, but it >> still is known internally. You can see it using the following function: >> >> showKnownLocations <- function() { >> calls <- sys.calls() >> srcrefs <- sapply(calls, function(v) if (!is.null(srcref <- attr(v, >> >> "srcref"))) { >> srcfile <- attr(srcref, "srcfile") >> paste0(basename(srcfile$filename),...
2025 Jan 19
1
[External] Re: Parser For Line Number Tracing
...>>>> ``` >>>> >>>> and no traceback is available. >>> >>> Okay, I see. In that case traceback() doesn't report the line, but it >>> still is known internally. You can see it using the following function: >>> >>> showKnownLocations <- function() { >>> calls <- sys.calls() >>> srcrefs <- sapply(calls, function(v) if (!is.null(srcref <- attr(v, >>> >>> "srcref"))) { >>> srcfile <- attr(srcref, "srcfile") >>> paste0...
2025 Jan 20
2
[External] Re: Parser For Line Number Tracing
...gt;>>> and no traceback is available. >>>>> >>>>> Okay, I see. In that case traceback() doesn't report the line, but it >>>>> still is known internally. You can see it using the following function: >>>>> >>>>> showKnownLocations <- function() { >>>>> calls <- sys.calls() >>>>> srcrefs <- sapply(calls, function(v) if (!is.null(srcref <- attr(v, >>>>> >>>>> "srcref"))) { >>>>> srcfile <- attr(srcref,...
2025 Jan 20
1
[External] Re: Parser For Line Number Tracing
...t;>>> >>>>> and no traceback is available. >>>> >>>> Okay, I see. In that case traceback() doesn't report the line, but it >>>> still is known internally. You can see it using the following function: >>>> >>>> showKnownLocations <- function() { >>>> calls <- sys.calls() >>>> srcrefs <- sapply(calls, function(v) if (!is.null(srcref <- attr(v, >>>> >>>> "srcref"))) { >>>> srcfile <- attr(srcref, "srcfile") &g...
2025 Jan 19
1
[External] Re: Parser For Line Number Tracing
...t;>> ``` > >>> > >>> and no traceback is available. > >> > >> Okay, I see. In that case traceback() doesn't report the line, but it > >> still is known internally. You can see it using the following function: > >> > >> showKnownLocations <- function() { > >> calls <- sys.calls() > >> srcrefs <- sapply(calls, function(v) if (!is.null(srcref <- attr(v, > >> > >> "srcref"))) { > >> srcfile <- attr(srcref, "srcfile") > >> past...
2025 Jan 21
1
[External] Re: Parser For Line Number Tracing
...no traceback is available. >>>>>> >>>>>> Okay, I see. In that case traceback() doesn't report the line, but it >>>>>> still is known internally. You can see it using the following function: >>>>>> >>>>>> showKnownLocations <- function() { >>>>>> calls <- sys.calls() >>>>>> srcrefs <- sapply(calls, function(v) if (!is.null(srcref <- attr(v, >>>>>> >>>>>> "srcref"))) { >>>>>> srcf...
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 19
1
[External] Re: Parser For Line Number Tracing
...t;>> ``` > >>> > >>> and no traceback is available. > >> > >> Okay, I see. In that case traceback() doesn't report the line, but it > >> still is known internally. You can see it using the following function: > >> > >> showKnownLocations <- function() { > >> calls <- sys.calls() > >> srcrefs <- sapply(calls, function(v) if (!is.null(srcref <- attr(v, > >> > >> "srcref"))) { > >> srcfile <- attr(srcref, "srcfile") > >> past...
2025 Jan 19
1
[External] Re: Parser For Line Number Tracing
...t;>> ``` > >>> > >>> and no traceback is available. > >> > >> Okay, I see. In that case traceback() doesn't report the line, but it > >> still is known internally. You can see it using the following function: > >> > >> showKnownLocations <- function() { > >> calls <- sys.calls() > >> srcrefs <- sapply(calls, function(v) if (!is.null(srcref <- attr(v, > >> > >> "srcref"))) { > >> srcfile <- attr(srcref, "srcfile") > >> past...