Course project: png and r files