Skip to content

Min file structure running Rscript #48

@diegomsg

Description

@diegomsg

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions