emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Ken Williams <Ken.Williams@windlogics.com>
To: "nicholas.dokos@hp.com" <nicholas.dokos@hp.com>
Cc: Rafael <rvf0068@gmail.com>,
	"emacs-orgmode@gnu.org" <emacs-orgmode@gnu.org>
Subject: Re: Hang on incomplete input
Date: Thu, 1 Dec 2011 11:22:21 -0600	[thread overview]
Message-ID: <21A5E1E970CD46459ECBE86D6CC4B28C52E23C26@spexch01.WindLogics.local> (raw)
In-Reply-To: <10546.1322752884@alphaville.dokosmarshall.org>



> -----Original Message-----
> From: nick@dokosmarshall.org [mailto:nick@dokosmarshall.org] On Behalf
> Of Nick Dokos
> Sent: Thursday, December 01, 2011 9:21 AM
>
> Forgive my ignorance: how do I check the ESS version? And what does ESS
> have to do with R? I thought this was an R code block, but as you can
> probably tell, I'm an ignoRamus.

ESS is the mechanism by which org-mode interfaces with a running R process.

And I think I left out a crucial piece of information in my first message: I run R in a session buffer, my full .org file looks like this:

###################################
#+TITLE: Test doc
#+AUTHOR: Ken Williams
#+BABEL: :session *Rt*

* My Header

Some code:

#+begin_src R
ddply(x,
#+end_src
###################################

With that change, is the hang reproducible?


> If that does not bear fruit, you can M-x toggle-debug-on-quit, run the code
> block and press C-g to get a backtrace. Rinse, repeat to see whether you
> always stop at the same point. It's somewhat hit-or-miss but it can be
> effective sometimes.

I could *SWEAR* I had tried C-g to abort the running R command (and C-c C-c, and C-c C-g, and about a dozen other things), but couldn't get it to react.  Now it aborts as desired.  I must have not actually tried a simple C-g.  I can never remember which keys abort which aspect of operation.

When I'm armed with that C-g, the hang is a much smaller issue!

 -Ken


CONFIDENTIALITY NOTICE: This e-mail message is for the sole use of the intended recipient(s) and may contain confidential and privileged information. Any unauthorized review, use, disclosure or distribution of any kind is strictly prohibited. If you are not the intended recipient, please contact the sender via reply e-mail and destroy all copies of the original message. Thank you.

  reply	other threads:[~2011-12-01 17:22 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-11-30 22:41 Hang on incomplete input Ken Williams
2011-11-30 23:12 ` Rafael
2011-12-01 15:04   ` Ken Williams
2011-12-01 15:21     ` Nick Dokos
2011-12-01 17:22       ` Ken Williams [this message]
2011-12-01 18:18         ` Nick Dokos
2011-12-01 19:03           ` Ken Williams
2011-12-01 19:41             ` Nick Dokos

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=21A5E1E970CD46459ECBE86D6CC4B28C52E23C26@spexch01.WindLogics.local \
    --to=ken.williams@windlogics.com \
    --cc=emacs-orgmode@gnu.org \
    --cc=nicholas.dokos@hp.com \
    --cc=rvf0068@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).