Learn R Programming

SoDA (version 1.0-6.1)

evalText: Turn a text string into an evaluated expression

Description

Turns a text string into an evaluated expression. See the "Computing with Text" chapter for why.

Usage

evalText(text, where = .GlobalEnv)

Arguments

text

The string.

where

The environment to use for the computation.

Value

Whatever the expression evaluates to.

Examples

Run this code
# NOT RUN {
##  See the chapter.

# }

Run the code above in your browser using DataLab