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

From: Peter Dalgaard <p.dalgaard_at_biostat.ku.dk>
Date: Fri 30 Jul 2004 - 20:10:19 EST

Dewez Thomas <t.dewez@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@biostat.ku.dk)             FAX: (+45) 35327907

______________________________________________
R-help@stat.math.ethz.ch mailing list
https://www.stat.math.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html
Received on Fri Jul 30 20:26:18 2004

This archive was generated by hypermail 2.1.8 : Wed 03 Nov 2004 - 22:55:22 EST