Skip to contents

Setup

install_saspy()
Install SASPy package
configure_saspy()
Configure SASPy package

Session Management

sas_connect()
Establish SAS session
sas_disconnect()
Disconnect SAS session
sas_get_session()
Get current SAS session

Executing Code

sas_run_string()
Execute SAS code
sas_run_selected()
Execute selected SAS code
sas_run_file()
Execute SAS file
sas_engine()
A SAS HTML5 engine for knitr

R <-> SAS

r_to_sas()
Convert R table to SAS
sas_to_r()
Convert SAS table to R

Input Output

sas_list()
List contents of a SAS directory
sas_upload()
Upload a file to SAS
sas_download()
Download a file from SAS
sas_remove()
Delete a file or directory from SAS