[R] ESS/rterm problem

Guido Masarotto guido at hal.stat.unipd.it
Sat Mar 13 00:29:45 CET 1999


On Fri, Mar 12, 1999 at 04:27:48PM -0500, Richard M. Heiberger wrote:
> Are you using the M-x R from essd-r32.el?  To do so requires an explicit
> M-x load-library RET essd-r32 RET
> 
> help works correctly with that version of M-x R.
> 
> Rich

  It works also for me.

  Since we are speaking about ESS+Rterm: a problem that I have
  is that emacs+ESS seems to 'eat' the "first" request to show a
  window inside Rterm, e.g., first time, I type
  > x11()
  or
  > window()
  no graphics window appears(in my experience never, in others
  experience almost never). From R 
  > .Devices 
  indicates the existence of a new graph. device but it is
  not shown.
  Following "x11()"'s  work.
  Problem seems to be inside ESS (or NT-emacs) since 
  if I substitute Rterm with a 4 lines  program which 
  only shows a modal message box (a "hallo, world" toy),
  then I launch it with M-X R, no message box is shown,
  emacs seems to hang until I kill the toy Rterm with
  the task manager (this has been confirmed to me also by
  Brian Ripley). 

  For the forthcoming rw633, Brian and I have introduced
  a work around but it is limited to the graphics device.
  BTW, in the new version, interaction between emacs and
  the graphics devices should be better since Rterm 
  'waits' for its input from ess in a separate thread.
  Problem here was neither R nor ESS but the Windows
  fgets/ReadFile which default behaviour seems to 'block' 
  the processing of other events.

  guido 

  
  
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info", "help", or "[un]subscribe"
(in the "body", not the subject !)  To: r-help-request at stat.math.ethz.ch
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._



More information about the R-help mailing list