This works well as now I can leave it running in the background without having
it flash up or resetting window sizes. Thank you.
From: ml-node+3797286-841295777-211...@n4.nabble.com
[mailto:ml-node+3797286-841295777-211...@n4.nabble.com]
Sent: Wednesday, September 07, 2011 04:12 PM
To: Thompson,
On Sep 7, 2011, at 22:30 , Schatzi wrote:
> That works perfect. Thank you.
>
Also, for an async solution, try something along these lines
library(tcltk)
f <- function() barplot(rpois(4, lambda=3))
g <- function() {f(); if (run) tcl("after", 4000, g)} # reschedule after 4000 ms
run <- TRUE; g(
That works perfect. Thank you.
On Sep 7, 2011, at 3:27 PM, Schatzi wrote:
> I would like some code to rerun every minute, automatically (it calls
> time and I want this to update).
> Here is the code (it is really the plot that I am interested in):
>
>
> hourc<-as.numeric(substr(date(),12,13)
On Sep 7, 2011, at 3:27 PM, Schatzi wrote:
> I would like some code to rerun every minute, automatically (it calls time
> and I want this to update).
> Here is the code (it is really the plot that I am interested in):
>
>
> hourc<-as.numeric(substr(date(),12,13))
> minc<-as.numeric(substr(da
I would like some code to rerun every minute, automatically (it calls time
and I want this to update).
Here is the code (it is really the plot that I am interested in):
hourc<-as.numeric(substr(date(),12,13))
minc<-as.numeric(substr(date(),15,16))
ftime<-c(hourc,minc)
barplot(ftime, axes = F