PNG plots and R codes