From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Thomas S. Dye" Subject: Re: Babel R source blocks problem Date: Sat, 28 Jan 2017 11:31:38 -1000 Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:48861) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cXabE-0001Fk-BS for emacs-orgmode@gnu.org; Sat, 28 Jan 2017 16:32:01 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cXab9-0005rf-Dx for emacs-orgmode@gnu.org; Sat, 28 Jan 2017 16:31:56 -0500 Received: from gproxy3-pub.mail.unifiedlayer.com ([69.89.30.42]:55456) by eggs.gnu.org with smtp (Exim 4.71) (envelope-from ) id 1cXab9-0005rJ-3l for emacs-orgmode@gnu.org; Sat, 28 Jan 2017 16:31:51 -0500 In-reply-to: List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: "Emacs-orgmode" To: "Charles C. Berry" Cc: org mode 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