sas_run_string: Execute SAS code string

View source: R/run-string.R

sas_run_stringR Documentation

Execute SAS code string

Description

Execute SAS code in current session and render html output.

Usage

sas_run_string(input, capture = "both", height = "auto", width = "auto")

Arguments

input

string; SAS code to run.

capture

string; If "both", tabpanel with output and log included. If "listing", only output is included. If "log" only log is included.

height

string; The height of the SAS output.

width

string; The width of the SAS output.

Value

htmlwidget; HTML5 output.

See Also

Other code execution functions: sas_run_file(), sas_run_selected()

Examples


sas_connect()

sas_run_string("PROC MEANS DATA = sashelp.cars;RUN;")


sasquatch documentation built on Feb. 28, 2026, 1:07 a.m.