Added R programs and PNG output