[ESS] Starting evaluation... hangs

Martin Maechler maechler at stat.math.ethz.ch
Mon Mar 27 08:42:17 CEST 2006


>>>>> "Gregor" == Gregor Gorjanc <gregor.gorjanc at gmail.com>
>>>>>     on Sun, 26 Mar 2006 21:19:01 +0200 writes:

    Gregor> Richard M. Heiberger wrote:
    >> Which computer, operating system version, emacs version?
    >> 

    Gregor> OS?  $ uname -a Linux omni_grega 2.6.11-1-686 #1 Mon
    Gregor> Jun 20 22:00:38 MDT 2005 i686 GNU/Linux

    Gregor> Emacs? - I get this message when I click on "Show
    Gregor> Emacs version" GNU Emacs 21.4.1 (i486-pc-linux-gnu,
    Gregor> X toolkit, Xawd3d scroll bars) of 2005-10-03 on
    Gregor> trouble, modified by debian

    >> I just ran your example on Windows XP with ESS-5.2.12 and
    >> GNU emacs 21.3.50.1 and all worked well.
    >> 
    >> Rich

    Gregor> How can I debug my problem?

Hmm, the behavior you see, Gregor, is quite strange.
"Of course", your example also runs nicely and smoothly for me
{Linux Redhat & Debian; Emacs 21.4 and 21.3}.

I think we have heard of problems like yours for Xemacs users,
but not GNU emacs..

Could it be that your *.R buffer (in which you select the region
via C-c C-r) is in a "strange" encoding where the spaces in

tmp <- data.frame(m1 = y[1:40],
                  m2 = y[41:80],
                  m3 = y[81:120],
                  m4 = y[121:160],
                  s1 = s[1:40],
                  s2 = s[41:80],
                  s3 = s[81:120],
                  s4 = s[121:160])

are encoded as peculiar UTF-8 codes or ..?
Call the file ex.R and try in a shell

 tr -d '\-.,<=:)(][[:alnum:]' < ~/R/qq.R | od -a

you should only get 'sp' (ASCII space) and 'nl' (newline)


Martin Maechler, ETH Zurich




More information about the ESS-help mailing list