Skip to contents

Execute a SAS file and render html output or save output as html and log.

Usage

sas_run_file(input_path, output_path, overwrite = FALSE)

Arguments

input_path

Path of SAS file to run.

output_path

Optional path to save html output to (log file will be named the same).

overwrite

Can output overwrite prior output?

Value

No return value.

Examples

if (FALSE) { # \dontrun{
cat("PROC MEANS DATA = sashelp.cars;\n RUN;", file = "test.sas")

sas_connect()
sas_run_file("test.sas", "test.html")
} # }