CAS-class | R Documentation |
An instance of this class represents a connection and session between the client (R) and the server (SAS Cloud Analytic Services).
hostname |
A |
port |
A |
protocol |
A
|
username |
A |
password |
A |
session |
A |
locale |
A |
authinfo |
A |
path |
Base path of the connection URL |
authcode |
Authorization code from SASLogon used to retrieve an OAuth token. |
A CAS object.
## Not run:
# Use binary communication and credentals from the default authinfo location.
s <- CAS('cloud.example.com', 5570)
# Use HTTPS and credentials from the default authinfo location.
s <- CAS('cloud.example.com', 8777, protocol='https')
# Use binary or HTTP communication and credentials from an alternative authinfo.
s <- CAS('cloud.example.com', 5570, protocol='auto', authinfo=~/alt.txt)
# Use binary or HTTP communcation and specify credentials.
s <- CAS('cloud.example.com', 8777, protocol='auto', username="sasdemo"
password="!s3cret")
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.