Fixed error of path execution on Rscript