I am struggling with an unpleasant mistake that has no idea where to start. this post is
General Debugging Recommendations in R
- There are many tips and tricks for debugging in general. Unfortunately, none of the strategies apply to tasks within functions called .Internal()
How can I diagnose a problem that appears in the Internal functions, and not within the normal functions of R?
fresh session R:
> .Internal(La_rs(matrix(1,1),TRUE)) $values [1] 1
my R session after a long script:
> .Internal(La_rs(matrix(1,1),TRUE)) Error: 'a' must be a complex matrix
I have a separate message , which is a reproducible example of my specific problem, but I would like to ask a question in more detail in a separate thread:
How do R users eliminate functions called inside .Internal() ?
source share