[ESS-bugs] Starting evaluation... hangs (another try)

Rodney Sparapani rsparapa at mcw.edu
Thu Aug 17 16:44:46 CEST 2006


Gregor Gorjanc wrote:
> Hello!
>
> I hope I am not sending this twice, however it does seem that I did not
> sent mail successfully from my Emacs.
>
> I tried again with my problem of hanging ESS when sending region to R
> process. Previous posts on this can be found at
>
> https://stat.ethz.ch/pipermail/ess-help/2006-March/003397.html
>
> For the reference, here is the description:
>
>   
>> 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 ... ?
>>     
>
> I figured out what was causing the problem. I tried with emacs "vanilla"
> i.e. emacs -q and issued the following:
> - C-u M-x R RET --vanilla RET RET (last RET for working directory)
> - C-x C-f scratch.R RET
> - type some multiline R code such as
>
> cat("this is a simple text in
> many (at least two) lines")
>
> and it worked fine with eval-region.
>
> After some trial and error I found out, that the following setting
> causes my problem. Start emacs "vanilla" i.e. emacs -q and issue the
> following:
> - C-u M-x R RET --vanilla RET RET (last RET for working directory)
> - C-x C-f scratch.R RET
> - type the following code to reproduce the problem (run first options()
> line and then cat() with eval-region to see the effect clearly)
>
> options(continue=" ")
>
> cat("this is
> simple multiline R code")
>
> - and I get the same error as described above - Starting evaluation...
> message appears in modeline and my Emacs is completely hanged (I can
> stop with C-g). It appears that ESS is having problems when continue
> argument starts with space i.e. options(continue=" +") also causes
> problem. I hope this can be fixed so I can normaly use my favourite
> continue argument.
>
> Bellow is output produced by debug-on-quit and by M-x ess-submit-bug-report
>
> Thank you for such a great interface to R!
>
>   
Hi Gregor:

Stephen commented on this problem in June; see the link below.  My 
advice would go like the old joke:

Man:      Doctor, it hurts when I do this?
Doctor:  Don't do that!

http://article.gmane.org/gmane.emacs.ess.general/1835

Rodney




More information about the ESS-bugs mailing list