문제

Does anyone know how to use Valgrind to memory debug RInside programs?

도움이 되었습니까?

해결책

When you use RInside, you create a standalone C++ program---which happens to be linked with R such that R gets embedded.

The use of valgrind is therefore no different then with another C++ program. All code that you want valgrind to analyse may have to rebuilt with the proper setup (see preparing your program at the Valgrind site) and that includes R and RInside if you want Valgrind output on these components too.

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