DRF_PaperApp Before running set the working directory to the directory where the app script is located. change setwd(".") to setwd("$yourPath")