문제

Basically it's all in the title. I'm calling C code from R via .Call(). The C code is throwing an error, but using traceback() or options(error=recover), the .Call() function is the farthest I can drill down to. Is there a way to view the C call stack when an error is thrown in the C code?

도움이 되었습니까?

해결책

Use gdb (or lldb under clang) to debug C code, perhaps as outlined here

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top