Learn R Programming

bruceR (version 0.7.2)

Run: Run code parsed from text.

Description

Run code parsed from text.

Usage

Run(..., silent = FALSE)

Arguments

...

Character string(s) to run. You can use "{ }" to insert any R object in the environment.

silent

Suppress error/warning messages. Default is FALSE.

Value

Invisibly return the running expression(s).

Examples

Run this code
# NOT RUN {
Run("a=1", "b=2")
Run("print({a+b})")

# }

Run the code above in your browser using DataLab