Displaying 1 result from an estimated 1 matches for "nonelegant".
Did you mean:
inelegant
2008 Aug 30
1
Saving 3d objects vs. pausing in non-interactive (scripted) mode
...E)
plot(X,X)
pause()
locator(type="p")
browser()
scan()
readline(prompt = "Readline pause. Press <Enter> to continue...")
plot(x^2~x)
I call this with:
r < pause.txt - save
The file runs from beginning to end without stopping.
4. I do have a very NONELEGANT solution:
cat("Press <Control-C> to end (rather crudely)")
while (TRUE){}
This does work, but it requires exiting R using control-C, which is not very
satisfying.
Any help would be appreciated,
Steve Shafer
[[alternative HTML version deleted]]