R programs and png files