Skip to contents

Uploads a file to the remote SAS server.

Usage

sas_file_upload(local_path, sas_path)

Arguments

local_path

string; Path of file on local machine to be uploaded.

sas_path

string; Path to upload local file to on the remote SAS server.

Value

logical; value indicating if the operation succeeded.

Examples

if (FALSE) { # \dontrun{
# connect to SAS
sas_connect()

# create a file to upload
cat("PROC MEANS DATA = sashelp.cars;RUN;", file = "script.sas")

# upload file
sas_file_upload(local_path = "script.sas", sas_path = "~/script.sas")
} # }