This package enables you to connect from R to a SAS Cloud Analytic Services host, run actions on in-memory tables, and work with the results of the actions.
CAS class provides an interface to your
connection to the CAS server and CAS session.
CASTable class provides an interface to the
casDataFrame class provides an interface
to the results for most actions.
Depending on how you install the package, you might be able to use binary communication with CAS. This is more efficient for bandwidth, but requires that your R installation have access to a precompiled library (rswat.so or rswat.dll). An alternative is to communicate with the server using the REST interface of the server over HTTP. See the connection examples that follow.
The responses and results of the actions are returned as R objects.
1 2 3
1 2 3 4
results <- runAction(s, "builtins.serverStatus") results$server nodes actions 1 1 15
You can also run an action using the generated R function:
1 2 3 4
results <- cas.builtins.serverStatus(s) results$server nodes actions 1 1 15
runAction(s, "builtins.loadActionSet", actionSet="regression")
Enter issues at https://github.com/sassoftware/r-swat/issues
Maintainer: Jared Dean [email protected]
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.