Revert "Revert "Commits the working R source code for all plots""

This reverts commit e80c33b3672f187e57ab102341bbe2c544f9aa22.