From mboxrd@z Thu Jan 1 00:00:00 1970 From: mcg Subject: Inline code :results replace not working Date: Fri, 07 Nov 2014 11:01:34 +0100 Message-ID: <545C987E.4020203@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:46384) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XmgTt-0004F7-HP for emacs-orgmode@gnu.org; Fri, 07 Nov 2014 05:09:30 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XmgTo-00018j-3t for emacs-orgmode@gnu.org; Fri, 07 Nov 2014 05:09:25 -0500 Received: from mail-wi0-x22d.google.com ([2a00:1450:400c:c05::22d]:54041) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XmgTn-00018X-Rr for emacs-orgmode@gnu.org; Fri, 07 Nov 2014 05:09:20 -0500 Received: by mail-wi0-f173.google.com with SMTP id n3so4020112wiv.12 for ; Fri, 07 Nov 2014 02:09:18 -0800 (PST) Received: from [131.220.113.50] ([131.220.113.50]) by mx.google.com with ESMTPSA id wx3sm11145639wjc.19.2014.11.07.02.01.35 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Fri, 07 Nov 2014 02:01:36 -0800 (PST) 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-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: emacs-orgmode@gnu.org Hello, I use inline code for simple calculations to insert numeric results into text apart from "normal" code blocks for more complex calculations and graphics (all in R). The :results replace option is not working for inline code, even if I explicitly set it in the code block. So I get #+PROPERTY: session *R* #+begin_src R :results replace value 2+3 #+end_src #+RESULTS: : 5 src_R[:results replace value]{2+3} =5= =5= =5= =5= =5= =5= I would really like to have numeric outcome in the buffer (not only minibuffer upon evaluation) but also evaluate the whole buffer when exporting to have everything updated. What is the problem here? For now I would have to - evaluate only on export and keep :results silent - evaluate all manually - meaning I get repeated results if I call org-evaluate buffer Cheers, Michael System: LMDE Update Pack 8 (jessie) GNU Emacs 24.3.1 (x86_64-pc-linux-gnu, GTK+ Version 3.8.4) of 2013-09-27 on trouble, modified by Debian Org version 8.2.10 (release_8.2.10-5-g20dcd0).