I have 2 R scripts in the sub-folders of folder1, and ran the following script. "No such file or directory" error was returened for the R scripts. Does anyone know how to solve this problem? Thanks
Bash script:
#! /usr/bin/env Rscript
for dir in folder1/* ; do
Rscript script1.R
Rscript script2.R
done
