search for: printsalot

Displaying 1 result from an estimated 1 matches for "printsalot".

2011 Dec 19
1
Speed issue when writing to RGui console from tcl/tk GUI
It seems that there are speed issues when printing to the R console from a tcl/tk GUI. Here are functions to write a lot of output, and to display how long it takes. printsalot <- function(n) { for(i in 1:n) cat(i, fill = TRUE) } timings <- function(n = 1e3) { print(system.time(printsalot(n))) } Calling timings() from the console reveals a run time of a few hundredths of a second. The following GUI has two buttons. Clicking the "slow" buttons just...