runAction: Run a CAS Action by Name

View source: R/action.R

runActionR Documentation

Run a CAS Action by Name

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

runAction(CASorCASTab = "", actn, check_errors = FALSE, ...)

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

## 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 Feb. 26, 2024, 8 a.m.