[ESS] emacs freezes using readline
Rodney Sparapani
rsparapa at mcw.edu
Fri Feb 2 21:25:23 CET 2007
Thomas Harte wrote:
> i'm experiencing emacs freezing when i do, e.g.:
>
> for (i in 1:5) {
> ans<- readline("continue? ")
> if (substr(ans, 1, 1) == "n") break
> }
>
> but it works just find in the R console. is there a fix for interactive input?
>
Oh, that's because you are changing the prompt from ">" to "continue?".
This works for me:
for (i in 1:5) {
ans<- readline("> continue? ")
if (substr(ans, 1, 1) == "n") break
}
Rodney
More information about the ESS-help
mailing list