[ESS] Starting evaluation... hangs

Gregor Gorjanc gregor.gorjanc at gmail.com
Sun Mar 26 00:18:10 CET 2006


Hello!

I started to use ESS for direct acces to R - I copied R code before to
terminal and now decided to move to ESS. It is nice, but I constantly
experience strange hanging when evaluating the code bellow. If I use C-c
C-n it goes smoothly, but when I use C-c C-r on "data.frame" part or on
the whole code I can see the Starting evaluation... message in modeline,
but it does not end it just continues and I can not stop this with C-c C-c.

Did I misunderstood the ess-eval-region command? I highlight the code
and issue C-c C-r. Should I do anything else to define a region or ... ?

Thanks!

y <- rnorm(n = 160, mean = 1400, sd = 200)
s <- factor(rep(c(1, 2, 3, 4), times = 40))

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])

R Version 2.2.1  (2005-12-20 r36812)
ESS 5.2.12

-- 
Lep pozdrav / With regards,
    Gregor Gorjanc

----------------------------------------------------------------------
University of Ljubljana     PhD student
Biotechnical Faculty
Zootechnical Department     URI: http://www.bfro.uni-lj.si/MR/ggorjan
Groblje 3                   mail: gregor.gorjanc <at> bfro.uni-lj.si

SI-1230 Domzale             tel: +386 (0)1 72 17 861
Slovenia, Europe            fax: +386 (0)1 72 17 888

----------------------------------------------------------------------
"One must learn by doing the thing; for though you think you know it,
 you have no certainty until you try." Sophocles ~ 450 B.C.




More information about the ESS-help mailing list