Fw: ESS and grid

Martin Maechler maechler at stat.math.ethz.ch
Mon Aug 23 18:35:14 CEST 2004


>>>>> "David" == David Meyer <david.meyer at wu-wien.ac.at>
>>>>>     on Mon, 23 Aug 2004 11:38:16 +0200 writes:

    David> Dear ESS folks,

    David> recently, I encountered a mysterious phaenomenon using ESS and the R
    David> grid package:

    David> Whenever I call grid.newpage() at the command prompt, Emacs opens a .rt
    David> transcript-Buffer.

    David> I don't think this is intended, so where could I look to track this
    David> down?

yes, that's a simple ESS bug: 
The original idea was to catch  page() for the pager,
but not all other functions ending in *page()...

Here is the patch

--- ess-inf.el	(revision 2968)
+++ ess-inf.el	(working copy)
@@ -9,7 +9,6 @@
 ;; Original Author: David Smith <dsmith at stats.adelaide.edu.au>
 ;; Created: 7 Jan 1994
 ;; Maintainers: ESS-core <ESS-core at stat.math.ethz.ch>
-;; Version: $Id: ess-inf.el,v 5.93 2004/07/08 07:48:58 maechler Exp $
 
 ;; This file is part of ESS
 
@@ -1464,7 +1463,7 @@
 ;; rmh: catch page() just like we catch help()
 (defconst inferior-R-1-input-help (format "help *(%s)" ess-help-arg-regexp))
 (defconst inferior-R-2-input-help (format "^ *\\? *%s" ess-help-arg-regexp))
-(defconst inferior-R-page         (format "page *(%s)" ess-help-arg-regexp))
+(defconst inferior-R-page         (format "^ *page *(%s)" ess-help-arg-regexp))
 
 (defun inferior-R-input-sender (proc string)
   ;; REALLY only for debugging: this S_L_O_W_S D_O_W_N   [here AND below]

----------------------------

or get (all not only one!) the newest ESS lisp files from
  https://svn.r-project.org/ESS/trunk/lisp/


    David> I am using the latest R-devel build, Emacs 21.3.1,
    David> and ESS 5.1.24 (not the latest version, as I can
    David> see).

(indeed; you haven't got the latest features nor the latest bugs ;-)

Martin




More information about the ESS-help mailing list