defCasTable | R Documentation |
Creates a CASTable
object to reference
an existing in-memory table in CAS. You can use this
function to reference tables that were loaded by other
SAS products, other scripts, or from server-side loads
with the cas.table.loadTable function.
defCasTable(
conn,
tablename,
caslib = "",
columns = "",
where = "",
orderby = list(),
groupby = list(),
gbmode = ""
)
conn |
A |
tablename |
A |
caslib |
An optional |
columns |
A |
where |
A |
orderby |
A |
groupby |
A |
gbmode |
A |
CASTable
## Not run:
irisct <- as.casTable(s, iris, casOut="irisct")
# Create another CASTable instance to the same in-memory table,
# but specify that CAS actions are performed by groups of species.
irisct.grouped <- defCasTable(s, tablename="irisct", groupby=list("species"))
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.