Execute a SAS file and render html output or save output as html and log.
See also
Other code execution functions:
sas_run_selected(),
sas_run_string()
Examples
if (FALSE) { # interactive()
sas_connect()
tempfile_sas_path <- tempfile(fileext = ".sas")
tempfile_html_path <- sub("\\.sas$", ".html", tempfile_sas_path)
cat("PROC MEANS DATA = sashelp.cars;RUN;", file = tempfile_sas_path)
sas_run_file(tempfile_sas_path, tempfile_html_path)
}
