Per issue gh-11, make R scripts input and output direcories script
parameters, and change their locations to be under the rails /tmp
directory.