From mboxrd@z Thu Jan 1 00:00:00 1970 From: Michael Bach Subject: Re: inline src_R also in latex src block Date: Thu, 12 Jan 2012 13:00:53 +0100 Message-ID: <4f0eca60.2165b40a.7716.1401@mx.google.com> References: <4efdfe43.c9330e0a.78cb.ffff9b12@mx.google.com> <87pqf2c6q7.fsf@gmx.com> <4f0c2d36.812f0e0a.303f.738e@mx.google.com> <877h0z7lwp.fsf@med.uni-goettingen.de> <4f0cc7e9.e4030e0a.7250.4f65@mx.google.com> <87aa5uocl7.fsf@med.uni-goettingen.de> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([140.186.70.92]:59228) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RlJGa-0006rv-6I for emacs-orgmode@gnu.org; Thu, 12 Jan 2012 06:56:28 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RlJGU-0000sr-G5 for emacs-orgmode@gnu.org; Thu, 12 Jan 2012 06:56:24 -0500 Received: from mail-wi0-f169.google.com ([209.85.212.169]:41870) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RlJGU-0000se-AB for emacs-orgmode@gnu.org; Thu, 12 Jan 2012 06:56:18 -0500 Received: by wicr5 with SMTP id r5so643478wic.0 for ; Thu, 12 Jan 2012 03:56:16 -0800 (PST) In-Reply-To: <87aa5uocl7.fsf@med.uni-goettingen.de> (Andreas Leha's message of "Wed, 11 Jan 2012 09:41:40 +0100") 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: Andreas Leha Cc: emacs-orgmode@gnu.org Andreas Leha writes: > yes, that should work. Try to export the following several times. The > first number should not change. > (note: maybe you'd have to execute the inner_test_cached once on your > system) > > #+name: inner_test_cached > #+begin_src R :cache yes :exports none > rnorm(1) > #+end_src > > #+results[dbeb7280be41fdc949815808cf601a6d01a400bb]: inner_test_cached > : 1.12399967834262 > > #+name: inner_test_not_cached > #+begin_src R :exports none > rnorm(1) > #+end_src > > #+results: inner_test_not_cached > : -0.562660468468834 > #+name: test > #+begin_src latex :noweb yes > \begin{equation} > <> > != > <> > \end{equation} > #+end_src Thanks for the testing code. Having R and LaTeX inside org this way is just pure fun. Michael