manage_commands: Manage commands to be evaluated

Description Usage Arguments Value Author(s) Examples

Description

Functions to manage commands to be evaluated.

Usage

1
.textEval(cmd, envir)

Arguments

cmd

A character vector containing commands to be executed.

envir

An environment in which to execute the commands.

Value

.textEval returns the output of eval(parse(text=cmd), envir), unless cmd is empty in which case it returns NULL.

Author(s)

Aaron Lun, Kevin Rue-Albrecht

Examples

1
2
3
myenv <- new.env()
myenv$x <- "Hello world!"
.textEval("print(x)", myenv)

iSEE documentation built on Feb. 3, 2021, 2:01 a.m.