Is there an elegant way to run a script contained in an installed package from the command line, with arguments.
So, I'm aware that we could do something like:
Rscript path/package/scritpts/script.R arg1 arg2 arg3
Dirk has provided a viable solution by way of his
Rscript $(R -e 'cat(system.file("scripts","file.R",package = "pkg"))') arg1 arg2 arg3