Using valgrind to debug R programs

If you want to debug your R program because of a segmentation fault or memory leak, you can use valgrind as follows in a shell:

R -d "valgrind --leak-check=full --show-reachable=yes" -f your_script.R
Please follow and like us:
This entry was posted in R and tagged , . Bookmark the permalink.

Leave a Reply

Your email address will not be published.