manage_commands: Manage commands to be evaluated

manage_commandsR Documentation

Manage commands to be evaluated

Description

Functions to manage commands to be evaluated.

Usage

.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

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

csoneson/iSEE documentation built on Oct. 12, 2024, 5:41 p.m.