pass_code_to_sas | R Documentation |
pass_code_to_sas
will pass SAS code (typed in R and/or list of SAS
files) from R to an installed local version of SAS.
pass_code_to_sas(
sas_file_list = NULL,
inputstring = NULL,
sas_path = "C:/Program Files/SASHome/SASFoundation/9.4/sas.exe",
config_file = NULL
)
sas_file_list |
A list of strings defining the location and name of SAS code files. |
inputstring |
A string vector of SAS code. |
sas_path |
File path to SAS 9.4 executable; default set to a rough standard of: |
config_file |
File path for SAS 9.4 configuration file (e.g. C:/.../SAS9.4_Prod/SASV9.CFG). |
## Not run:
sas_code_string <- 'DATA TEMP; do i = 1 to 10; age = i+1; output; end; run;'
pass_code_to_sas(inputstring = sas_code_string, sas_path = "C:/Program Files/SASHome/SASFoundation/9.4/sas.exe")
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.