Install R on Cloud 9
Download
wget http://cran.r-project.org/src/base/R-3/R-3.0.3.tar.gz
tar -xzf R-3.0.3.tar.gz
cd R-3.0.3
Install
sudo apt-get update
sudo apt-get install r-base
Launch
~/workspace/R-3.0.3 $ R
** Run the file**
R < ~/workspace/r/test.R --no-save