Added OutputR scheme

* The scheme can be used to write files that can easily be ready by
  the R statistical package.