Emulates an R console that evaluates expressions in the specified environement env. You return to the standard R console by pressing ESC

Description

Emulates an R console that evaluates expressions in the specified environement env. You return to the standard R console by pressing ESC

Usage

1
2
3
4
  env.console(env = new.env(parent = parent.env),
    parent.env = parent.frame(), dots = NULL,
    prompt = ": ",
    startup.message = "Press ESC to return to standard R console")

Arguments

The

environment in which expressions shall be evaluated. If not specified then a new environment with the given parent.env is created.

If

env is not specified the parent environemnt in which the new environment shall be created

dots

a list that contains values for the ellipsies ... that will be used if you call other functions like fun(...) from within the console. You can access the values inside the console by typing list(...)

prompt

The prompt that shall be shown in the emulated console. Default = ": "

Value

Returns nothing since the function must be stopped by pressing ESC.