[R] Use Rterm in rxvt for Cygwin?
ripley at stats.ox.ac.uk
Thu Mar 6 22:32:24 CET 2003
On Thu, 6 Mar 2003, Dirk Eddelbuettel wrote:
> On Thu, Mar 06, 2003 at 11:53:54AM -0800, Michael Na Li wrote:
> > On Mon, 3 Mar 2003, ripley at stats.ox.ac.uk outgrape:
> > > Rterm is a Windows application. It works fine in Windows tcsh and in
> > > Cygwin bash on Windows XP (and last time I looked, Windows 98 too).
> > Rterm doesn't work (interactively) in Cygwin bash on our machine (Windows 2000
> > SP 3, R 1.6.1). (Not that I need that functionality). It gives error like,
> > ,----
> > | The instruction at "0x7800270e" referenced memory at "0x0000000". The memory
> > | could not be read.
> > `----
I think you will find that is in msvcrt.dll, in which case it is not Rterm
but a low-level OS interface.
> But under NT4SP6 it also prints
> ~> Rterm
> Fatal error: you must specify --save', --no-save' or --vanilla'
> and following that hint works, i.e. 'Rterm --no-save'.
Looks like your versions of bash are not providing proper ttys to
msvcrt.dll since isatty(0) must be false to get that message.
Given that Rterm works (interactively with full command-line editing)
in a Windows terminal on those OSes
in bash on XP
in tcsh on NT4, 2000 and XP
it points to Cygwin bash as the culprit.
> > Use Rterm for batch processing does work, however.
> And most importantly 'Rterm --slave' works for ESS :)
It is intended that Rterm --ess be used with ESS.
Brian D. Ripley, ripley at stats.ox.ac.uk
Professor of Applied Statistics, http://www.stats.ox.ac.uk/~ripley/
University of Oxford, Tel: +44 1865 272861 (self)
1 South Parks Road, +44 1865 272866 (PA)
Oxford OX1 3TG, UK Fax: +44 1865 272595
More information about the R-help