PS Also look at Writing R Extension for _plain_ R via valgrind. Then do
cat("hello, world\n"); q("no")
and see what Valgrind reports. That is the second part of the baseline.
Dirk
--
http://dirk.eddelbuettel.com | @eddelbuettel | edd at debian.org