[ESS] Can not interrupt long printing
Ali Tofigh
alix.tofigh at gmail.com
Thu Jun 21 21:04:40 CEST 2012
for what it's worth, in case you are using tramp to run R remotely,
you could try C-q C-c which sends a literal C-c. that happens to work
for my setup.
/ali
On Thu, Jun 21, 2012 at 10:20 AM, Vitalie Spinu <spinuvit at gmail.com> wrote:
> >> Rainer M Krug <r.m.krug at gmail.com>
> >> on Thu, 21 Jun 2012 15:53:04 +0200 wrote:
>
> > On 21/06/12 15:51, Douglas Bates wrote:
> >> Why not use
>
> > If I remember that it might be a larger object, I usually do that - but I sometimes forget and
> > then....
>
> C-c C-c in iESS should work for data.frames (albeit with some delay). It
> doesn't work if you cat(huge_string).
>
> I guess the interruption mechanism has to do with underlying R. From
> Emacs side it's probably close to nothing what could be done to improve
> that.
>
> Vitalie.
>
> >>
> >> str(x)
> >>
> >> before asking for a display of the complete object? The str function, written by Martin,
> >> provides a concise overview of any R object. Other alternatives for data frames in particular
> >> are
> >>
> >> head(x, n) # display the first n rows, the default for n is 6
> >>
> >> and
> >>
> >> tail(x, n)
> >>
> >> On Thu, Jun 21, 2012 at 7:09 AM, Rainer M Krug <r.m.krug at gmail.com> wrote: Hi
> >>
> >> I sometimes want to see an object / dataframe (lets call it x) in R and, only after issuing
> >> the command to print it(> x), that it x is a HUGE dataframe and it takes literally minutes to
> >> print. I am not able to interrupt the printing with Ctrl-c as I used to be, as the cursor is in
> >> the middle of the screen and not at the end of the output. Interrupting via the menu also does
> >> not work ("No command on this line"). The only thing I can do is either wait or kill R
> >>
> >> Is it possible to make sure that the cursor stays at the end of the output, so that I can
> >> interrupt the printing? Thanks,
> >>
> >> Rainer
> >>
> >>>
> >>> ______________________________________________ ESS-help at r-project.org mailing list
> >>> https://stat.ethz.ch/mailman/listinfo/ess-help
>
> ______________________________________________
> ESS-help at r-project.org mailing list
> https://stat.ethz.ch/mailman/listinfo/ess-help
More information about the ESS-help
mailing list