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

From: Dewez Thomas <>
Date: Fri 30 Jul 2004 - 19:37:32 EST

Dear R-users,

Thanks to Roger Bivand, it appears that the real problem is coming from the way R talks to X11 under cygwin. Both other invocations of Rterm, either in a bash window without Xwindow capability or from the DOS command, work just fine.

Rterm breaks down every time it is invoked from a bash shell inside an Xwindow session. The symptoms are the following:
+ No popup window appears when invoking help() or plot() commands
+ Instead, the Windows task bar shows an R icon, but this icon cannot be
restore to full screen
+ 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.

Any clues as to what I should do? I insist on using R in an Xwindow session
because I want to take advantage of the R/GRASS module and compute stats on
GIS layers.


Le contenu de cet e-mail et de ses pièces jointes est destiné à l'usage exclusif du 
(des) destinataire(s) expressément désigné(s) comme tel(s). En cas de réception de cet 
 e-mail par erreur, le signaler à son expéditeur et ne pas en divulguer le contenu. 
L'absence de virus a été vérifié à  l'émission du message. Il convient néanmoins de 
vérifier l'absence de corruption à sa réception.

The contents of this email and any attachments are confidential. They are intended for 
the named recipient(s) only. If you have received this email in error please notify the 
system manager or  the sender immediately and do not disclose the contents to 
anyone or make copies. eSafe scanned this email for viruses, vandals and malicious 

______________________________________________ mailing list
PLEASE do read the posting guide!
Received on Fri Jul 30 19:43:11 2004

This archive was generated by hypermail 2.1.8 : Fri 18 Mar 2005 - 02:41:25 EST