playground
opens a simple text window for testing R code.
playground(playground.envir=NULL,code=NULL)
playground.envir
is used for evaluationcode
is inserted in the playgroundplayground
does not have any explicit result.
playground()
is an alternative approach to this problem. After starting the function
playground
a text field (in a Tcl/Tk widget) is created and you are allow put some R commands
into this field. At the bottom of the window you find two buttons: one for activating commands and
a second one for closing the window. The results will be printed on the current output device.
All assignments take place in the global envirnment or if revive.env
exists
the new objects will be created in revive.env
.
May be you need the field for taking a lot of notes without any calculations only.
Anyway, it is no problem to call playground
several times.
playground
is in an experimental state yet. So it may be changed later on.