emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Orgmode] Re: inline code block results


From: Andreas Leha
Subject: [Orgmode] Re: inline code block results
Date: Fri, 04 Feb 2011 17:24:22 +0100
User-agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.1.16) Gecko/20101226 Iceowl/1.0b1 Icedove/3.0.11

Hi all,

just found out: the inline block works when I explicitly state :results
replace.

So both questions from the previous email collapse to: why is that
necessary?

Regards,
Andreas



Am 04.02.2011 17:13, schrieb Andreas Leha:
> Hi all,
>
> I have two questions:
>
> (1)  How do I get resuts from code block evaluation (e.g. a single
> number) inline into text during (LaTeX-)export?  Something like:  We use
> a level of #+call: getLevel()
>
> (2)  Why do these two subheadings produce different output during
> (LaTeX-)export?
> * Test
> ** Normal source code block
>    The number is
>    #+srcname: success_parameter_one
>    #+begin_src R :session :results value :exports results
>      tmp <- rnorm(1)
>    #+end_src
>
> ** Inline source code block
>    The number is src_R[:session :results value :exports results]{tmp <-
> rnorm(1)}
>
>
> Thanks in advance!
> Andreas
>
>   

-- 
Andreas Leha

Universitätsmedizin Göttingen
Abteilung Medizinische Statistik
Humboldtallee 32
37073 Göttingen

Tel: +49 (0)551 39-10710
Fax: +49 (0)551 39-4995

http://www.ams.med.uni-goettingen.de/amsneu/leha.html



University Medical Center Göttingen
Department for Medical Statistics
Humboldtallee 32
37073 Göttingen
Germany

Phone: +49 (0) 551 39-10710
Fax: +49 (0) 551 39-4995

http://www.ams.med.uni-goettingen.de/amsneu/leha-en.html


Attachment: smime.p7s
Description: S/MIME Cryptographic Signature


reply via email to

[Prev in Thread] Current Thread [Next in Thread]