[ESS] ESC-Function in R - Where is it in ESS?
James W. MacDonald
jmacdon at med.umich.edu
Tue Apr 28 20:35:44 CEST 2009
I may be missing something, but doesn't C-c C-c do what you want? If I
try your example and stop R by C-c C-c, I get this:
> for(i in 1:10000) print(i)
[1] 1
[1] 2
[1] 3
[1] 4
[snip]
[1] 8034
[1] 8035
[1] 8036
[1] 8037
[1] 8038
[1] 8039
[1] 8040
[1] 8041
[1] 8042
[1]
>
> i
[1] 8043
Best,
Jim
ronggui wrote:
> It seems do not work.
>
> example code
>
> for (i in 1:10000) {print(i)}
>
> It will not stop until the loop finishes.
>
>
> 2009/4/28 Rodney Sparapani <rsparapa at mcw.edu>:
>> Friedericksen wrote:
>>> Hello Guys,
>>>
>>> I have a for loop running for some time. I asked in the R Group for some
>>> way to stop it, without getting the data lost. There is a way: You can press
>>> the Escape-Button "ESC" and then the loop will stop and you have an object
>>> created. Unfortunately it does not work in ESS, because I think this
>>> function is bound to some other key. Please tell me, where I can find the
>>> function or how I can to the same stuff in ess, that is started in R when I
>>> press "ESC".
>> Really more of an emacs question than an ESS question I think. Did you
>> try C-q ESC?
>>
>> ______________________________________________
>> ESS-help at stat.math.ethz.ch mailing list
>> https://stat.ethz.ch/mailman/listinfo/ess-help
>>
>
>
>
--
James W. MacDonald, M.S.
Biostatistician
Douglas Lab
University of Michigan
Department of Human Genetics
5912 Buhl
1241 E. Catherine St.
Ann Arbor MI 48109-5618
734-615-7826
More information about the ESS-help
mailing list