profiling: fix R script that makes figures

Signed-off-by: Sébastien Boisvert <boisvert@anl.gov>