Edit: I solved this problem by putting
R CMD BATCH --no-save < test.R into a script (say, run.sh), and then running $ cuda-memcheck ./run.sh -- View this message in context: http://r.789695.n4.nabble.com/debugging-a-CUDA-enabled-R-package-with-cuda-memcheck-tp4691669p4691765.html Sent from the R devel mailing list archive at Nabble.com. ______________________________________________ R-devel@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-devel