This is a script that configures R etc on Amazon EC2 instances running Ubuntu