add missing sudo to Rscript command