[R] is there any way to run R method as a background process from R interface

Philippe Grosjean phgrosjean at sciviews.org
Fri Nov 7 13:01:41 CET 2008


Hello,

Two approaches depending when you want to trigger this background 
calculation:

1) It is enough to trigger the background computation after each 
top-level instruction entered at the command line: use ?addTaskCallback

2) You want to trigger the background calculation at a given time, or 
redo it every xxx ms. This is a little bit more complicate. I have 
success using the tcltk package and the 'after' Tcl function.

Best,

Philippe Grosjean

..............................................<°}))><........
  ) ) ) ) )
( ( ( ( (    Prof. Philippe Grosjean
  ) ) ) ) )
( ( ( ( (    Numerical Ecology of Aquatic Systems
  ) ) ) ) )   Mons-Hainaut University, Belgium
( ( ( ( (
..............................................................

Kurapati, Ravichandra (Ravichandra) wrote:
> Hi ,
> 
>  
> 
>         can some body tell to me "how to run a R method /function as a
> background process from R interface"
> 
>  
> 
> Thanks
> 
> K.Ravichandra
> 
>  
> 
>  
> 
> 
> 	[[alternative HTML version deleted]]
> 
> ______________________________________________
> R-help at r-project.org mailing list
> https://stat.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
> and provide commented, minimal, self-contained, reproducible code.
>



More information about the R-help mailing list