expr {SparkR}R Documentation

expr

Description

Parses the expression string into the column that it represents, similar to SparkDataFrame.selectExpr

Usage

## S4 method for signature 'character'
expr(x)

expr(x)

Arguments

x

an expression character object to be parsed.

Note

expr since 1.5.0

See Also

Other normal_funcs: Column-class, column, column, column, column,character-method, column,jobj-method; abs, abs,Column-method; bitwiseNOT, bitwiseNOT, bitwiseNOT,Column-method; greatest, greatest, greatest,Column-method; ifelse, ifelse,Column-method; is.nan, is.nan,Column-method, isnan, isnan, isnan,Column-method; least, least, least,Column-method; lit, lit, lit,ANY-method; nanvl, nanvl, nanvl,Column-method; negate, negate, negate,Column-method; randn, randn, randn, randn,missing-method, randn,numeric-method; rand, rand, rand, rand,missing-method, rand,numeric-method; struct, struct, struct,characterOrColumn-method; when, when, when,Column-method

Examples

## Not run: expr('length(name)')

[Package SparkR version 2.0.2 Index]