all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: "Thomas S. Dye" <tsd@tsdye.com>
To: "Charles C. Berry" <ccberry@ucsd.edu>
Cc: org mode <emacs-orgmode@gnu.org>
Subject: Re: Babel R source blocks problem
Date: Sat, 28 Jan 2017 11:31:38 -1000	[thread overview]
Message-ID: <m2d1f6yipx.fsf@tsdye.com> (raw)
In-Reply-To: <alpine.OSX.2.20.1701281203150.1494@charles-berrys-macbook.local>

Aloha Chuck,

Charles C. Berry writes:

> I hope somebody recognizes that message. If not, here are som suggestions:
>
>
> #+NAME: alpha
> #+BEGIN_SRC emacs-lisp
> "abc"
> #+END_SRC
>
> produces
>
> #+RESULTS: alpha
> : abc
>
> when you run `org-babel-execute-src-block'. Does changing "emacs-lisp"
> to "R" and running again erase the result or fail to insert it if
> you first run `org-babel-remove-result'?
>
> You have already checked that C-c C-v C-i for both versions yields
> identical results, right?
>
> If so, I'd instrument `org-babel-execute-src-block', execute and then
> type 'h' just before the `(org-babel-insert-result ... ' --- a couple
> of lines from the bottom --- once you enter edebug. Then `e' and
> `results' to see that it is what you suppose it should be. Then step
> thru the next few lines to insert the result. Then check the buffer to
> see what happened. If no result was inserted, then I'd instrument
> `org-babel-insert-result' and work from there.
>
> HTH,
>
> Chuck
>
> p.s. You are not trying to export this and depending on the exporter
> to run babel, right? Because there is another trick lying in wait...

That helped me find the user error, duplicate NAME.  Sorry for the
noise and thanks for the help.

Thanks, too, for asking about export. I'm giving a demo at a conference
this spring and the organizer has asked for a .rmd file, which is new to
me. I hope to produce it with your ox-ravel, also new to me, so I might
be pestering the list again :)

All the best,
Tom

--
Thomas S. Dye
http://www.tsdye.com

  reply	other threads:[~2017-01-28 21:32 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-01-28 19:29 Babel R source blocks problem Thomas S. Dye
2017-01-28 20:25 ` Charles C. Berry
2017-01-28 21:31   ` Thomas S. Dye [this message]
2017-01-28 22:18     ` Charles C. Berry
2017-01-29  0:21       ` Thomas S. Dye
2017-02-11  5:29       ` Thomas S. Dye
2017-02-11 20:02         ` Charles C. Berry
2017-03-13 22:37           ` Thomas S. Dye
2017-03-20 18:19             ` Charles C. Berry

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

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

  git send-email \
    --in-reply-to=m2d1f6yipx.fsf@tsdye.com \
    --to=tsd@tsdye.com \
    --cc=ccberry@ucsd.edu \
    --cc=emacs-orgmode@gnu.org \
    /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 external index

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

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.