Description Usage Arguments Value
Emulates an R console that evaluates expressions in the specified environement env. You return to the standard R console by pressing ESC
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")
|
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 = ": " |
Returns nothing since the function must be stopped by pressing ESC.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.