My issue is that as I share my project on GitHub I wish to enclose a run.command file containing the terminal commands. The .R files in the same root folder as the .command file.
Rscript 01-xy.R
Rscript 02-yz.R
But how can I set that the codes are evaluated in the current folder. Looking st like cd (folder of this file). Thanks in advance, M