runAction: Run a CAS Action by Name

Description Usage Arguments Examples

View source: R/action.R

Description

This function enables you to specify a CAS action name and run it. This is an alternative to running an action from the generated function names. An example of a generated function name is cas.table.tableInfo.

Usage

1
runAction(CASorCASTab = "", actn, ...)

Arguments

CASorCASTab

An instance of a CAS object that represents a connection and CAS session, or an instance of a CASTable.

actn

A character string that specifies the action set and action name to run.

...

Parameters that are passed to the CAS action.

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
## Not run: 
# display the active caslib for the session
runAction(conn, "sessionProp.getSessOpt", name="caslib")

# display simple summary statistics for an uploaded data frame
mtcarsct <- as.casTable(conn, mtcars)
runAction(mtcarsct, "simple.summary")

# the preceding runAction function is functionally
# equivalent to the following generated function
cas.simple.summary(mtcarsct)

## End(Not run)

sassoftware/R-swat documentation built on Oct. 21, 2018, 5:35 a.m.