[R] using Rterm under cygwin, no possiblity to delete characters

Peter Dalgaard p.dalgaard at biostat.ku.dk
Fri Jul 30 12:10:19 CEST 2004

Dewez Thomas <t.dewez at brgm.fr> writes:

> + Rterm dies when hitting return after correcting typos
> the error message then is:
> ---
> Error: syntax error
> Execution halted
> ---
> This suggests that Rterm is by-passing fvwm2 and the X11 environment to talk
> to windows directly. This is also probably the reason why terminal
> properties are forgotten when just using Rterm for typing commands. It
> forgets that it was invoked from bash and responds to all the keys pressed.
> If typos are corrected with backspace, Rterm reads is a gibberish string
> made of printable and non printable characters causing it to misunderstand
> the command and fail.

One might also suspect that Rterm does not realize that it is being
run interactively. Will it halt on *all* syntax errors? (e.g. a line
with a single left parenthesis). This doesn't really have anything to
do with bash or the window manager, only whether R uses the readline
interface (which it probably will not if it isn't interactive). 

Which sort of terminal window are you running from?

   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

More information about the R-help mailing list