run_section.Rd
Specifies any number of programs to execute after the program has been successfully installed, but before the installer displays the final dialog. See [Run] for details.
run_section(iss, R_flags = "/SILENT")
iss | Character vector which cumulatively becomes an Inno Setup Script (ISS). |
---|---|
R_flags | String of flags to customize R's installation. Defaults to "/SILENT". For other options, visit Section 2.4 of the R FAQ. If using the '/DIR=""C:\myapp""' flag, use double backslashes and double quotes. For more information on valid Inno Setup constants, see the Constants section. |
Chainable character vector, which can be used as the text
argument of writeLines
to generate an ISS.
get_R
, copy_installation
, create_config
, create_bat
, directives_section
, setup_section
, languages_section
, tasks_section
, files_section
, icons_section
, run_section
, and code_section
.
# NOT RUN { # You can combine custom R installation flags with Inno Setup constants create_app("myapp", "app", R_flags = '/SILENT /DIR=""{userdocs}""') # Or directly run_section(iss, R_flags = '/SILENT /DIR=""{userdocs}""') # }