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

Code Execution

sas_run_string()
Execute SAS code string
sas_run_selected()
Execute selected SAS code
sas_run_file()
Execute SAS file
sas_set_tempdir()
Set SAS temporary directory
sas_engine()
A SAS engine for knitr

R <-> SAS

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

File Management

sas_list()
List contents of a SAS directory
sas_file_exists()
Check if file on SAS exists
sas_file_upload()
Upload a file to SAS
sas_file_download()
Download a file from SAS
sas_file_copy()
Copy a file on SAS
sas_file_remove()
Delete a file or directory from SAS