Description Usage Arguments Examples
View source: R/execute_command.R
Sends a SAS command to the workspace server for execution. Workspace server can be connected either by server name or by server url with server port. If none of these connections are provided, default workspace server from API configuration file will be used.
1 2 3 |
url |
URL of the server with installed SAS9API. |
repositoryName |
Repository name. |
serverName |
Workspace server name. |
serverUrl |
Workspace server URL. |
serverPort |
Workspace server port. |
logEnabled |
logical. Enables log output in endpoint response. |
command |
SAS command to execute. |
asDataFrame |
logical. Determines the content of the response returned by the function. If FALSE, the function will return full JSON response. If TRUE, the function will return only payload part of the response transformed into a dataframe. |
1 2 | execute_command(url, serverUrl, serverPort,
command = "proc print data=sashelp.class; run;", logEnabled = TRUE)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.