Please check if the R.exe directory is C:\Program Files\R\R-3.1.3\bin\x64\R.exe
> and R version is 3.1.3
If the directory is not correct use option pathr.
If only the version is not correct use option version.
If both the directory and the version are correct,
something went wrong during the run of the R script.