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]]
______________________________________________
[email protected] 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.