as.casTable | R Documentation |
Uploads an R data frame to CAS and returns a
CASTable
object. The CASTable object
is a reference in R (the client) to the in-memory
table that is in CAS (the server).
as.casTable(conn, df, casOut = "")
conn |
A |
df |
A |
casOut |
An optional
|
CASTable
## Not run:
s <- CAS('cloud.example.com', 5570)
irisct <- as.casTable(s, iris)
# Specify a name for the in-memory table.
mtcarsct <- as.casTable(s, mtcars, casOut="mtcarsct")
# Avoid replacing an existing in-memory table.
mtcarsct <- as.casTable(s, mtcars, casOut=list(name="mtcarsct", replace=FALSE))
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.