Memory profiling in R

Three experimental additions to help in profiling memory use in R programs. This is reorganized from the first version to keep the code and documentation for the time-sampling profiler Rprof separate from the memory profiler Rprofmem Valgrind can also help with memory profiling at the C level, using --tool=massif
Thomas Lumley. 2006-8-1