Learn R Programming

bruceR (version 2023.9)

Run: Run code parsed from text.

Description

Run code parsed from text.

Usage

Run(..., silent = FALSE)

Value

Invisibly return the running expression(s).

Arguments

...

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

silent

Suppress error/warning messages. Defaults to FALSE.

Examples

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

Run the code above in your browser using DataLab