Only generate an R-plot if it has not been generated yet (except in development). #885