Learn R Programming

wrapr (version 1.5.0)

apply_right.default: S3 dispatch on type of pipe_right_argument.

Description

Triggered if right hand side was a name that does not resolve to a function. Default implementation is re-dispatch through apply_left. Currently this is not thought to be a common execution case.

Usage

# S3 method for default
apply_right(pipe_left_arg, pipe_right_arg, pipe_environment,
  left_arg_name, pipe_string, right_arg_name)

Arguments

pipe_left_arg

left argument

pipe_right_arg

substitute(pipe_right_arg) argument

pipe_environment

environment to evaluate in

left_arg_name

name, if not NULL name of left argument.

pipe_string

character, name of pipe operator.

right_arg_name

name, if not NULL name of right argument.

Value

result

See Also

apply_left, apply_right

Examples

Run this code
# NOT RUN {
v <- list(1, 2)
f <- function(z) { format(z) }
f %.>% v

# }

Run the code above in your browser using DataLab