sinkstart(echo = TRUE, split = FALSE, fontFamily = 'Courier', fontSize = 10, col.bg = 'white', col.call = c('black',col.bg), col.result = c('black',col.bg), col.err = c('red',col.bg), col.warn = c('purple',col.bg), col.msg = c('blue',col.bg))
sinkstop(quiet = TRUE)
TRUE
.FALSE
.Courier
. Available fonts can be retrieved by .Tcl("font families")
.10
.echo=TRUE
..TRUE
.
: Copy
: Cut
: Paste
: Select all
: Save output
: Clear outputsink
, task callbacks, and a custom error handler. (This is similar to the R2HTML package.) sinkstart
starts the sink and sinkstop
stops the sink without destroying the widget. Closing the sink widget invisibly calls sinkstop
and cleans up. The sink can be turned on and off repeatedly without closing the widget.
## Not run:
# sinkstart() # open the sink
# sinkstop() # close the sink
# ## End(Not run)
Run the code above in your browser using DataLab