Learn R Programming

PreKnitPostHTMLRender (version 0.1.0)

run_code: Eval a line of code and capture output

Description

Run a line of code and capture output into a character string

Usage

run_code(oneline, envir)

Arguments

oneline
- code line
envir
- environment to evaluate the code in