[R] PNG diver problem
Peter Dalgaard BSA
p.dalgaard at biostat.ku.dk
Thu Nov 29 19:23:17 CET 2001
Andrew Schuh <andys at neptuneandco.com> writes:
> Let me expand my question some. I use R in batch mode for interactive
> web statistics (via RH7.2 and R1.3). I have experimented with using
> the Tcl/Tk and SJava packages, as well as starting gui apps from batch
> mode. I haven't really been able to start any of them and I assume
> this is due to the discussion that has been going on here. I work in
> parallel with someone who works in W2000. He doesn't seem to have any
> problem with starting this kind of stuff. It is a real development
> hinderance not to be able to start GUI apps from batch mode. Does
> anyone out there have any suggestions?
"GUI" and "batch" are incommensurable to my mind... A batch run is
something that might get executed in the middle of the night. You mean
start GUI from a shell script? For Tcl/Tk there's a slightly ugly hack
along these lines:
#!/bin/sh
R -q --vanilla << ___EOF___ > /dev/null
library(tcltk)
tkpack(tktext(tktoplevel()))
tkwait.variable("foo")
___EOF___
--
O__ ---- Peter Dalgaard Blegdamsvej 3
c/ /'_ --- Dept. of Biostatistics 2200 Cph. N
(*) \(*) -- University of Copenhagen Denmark Ph: (+45) 35327918
~~~~~~~~~~ - (p.dalgaard at biostat.ku.dk) FAX: (+45) 35327907
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info", "help", or "[un]subscribe"
(in the "body", not the subject !) To: r-help-request at stat.math.ethz.ch
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._
More information about the R-help
mailing list