W Eryk Wolski
2009-Aug-24 08:36 UTC
[R] Using R CMD Batch similarly to gnuplot >pause mouse<
I have a gnuplot script:
plot ''gp.dat'' using 1:2 with line
pause mouse
and would like to have R CMD BATCH script that works similarily...
x<-read.table("gp.dat")
options(device="windows")
plot(x[,1],x[,2])
what I am looking for now is an R functions which behaves like "pause
mouse"
in gnuplot, i.e.
pause - command displays any text associated with the command and then waits
a specified amount of time or until the carriage return is pressed.
If the current terminal supports mousing, then pause mouse will terminate on
either a mouse click or on ctrl-C.
Thanks in advance
--
Witold Eryk Wolski
Heidmark str 5
D-28329 Bremen
tel.: 04215261837
www.brementango.de
[[alternative HTML version deleted]]