What's the recommended minimal framework structure just for running .R script to output file based on arg passed in cmd?
Like app.bat inputfile.csv that calls Rscript.exe with
set arg1=%1
dist\R-Portable\App\R-Portable\bin\Rscript.exe "app\app.R" %arg1%
that runs portably, with verbose from .R message() in shell screen?
I can run it using this great framework, but it's still too big for portability (153 MB) using R-portable 4.2 as distribution.
Kudos for the framework, but this time I don't need shiny structure and capabilities.
What's the recommended minimal framework structure just for running .R script to output file based on arg passed in cmd?
Like
app.bat inputfile.csvthat calls Rscript.exe withthat runs portably, with verbose from .R
message()in shell screen?I can run it using this great framework, but it's still too big for portability (153 MB) using R-portable 4.2 as distribution.
Kudos for the framework, but this time I don't need shiny structure and capabilities.