[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [O] Possible to use src block to generate org headlines for export?
From: |
Nicolas Goaziou |
Subject: |
Re: [O] Possible to use src block to generate org headlines for export? |
Date: |
Fri, 25 Jul 2014 18:08:24 +0200 |
Andreas Leha <address@hidden> writes:
> But then, I do not understand your statement 'headlines are the only
> limitation to raw+replace behaviour'.
>
> This code block does not seem to respect 'raw+replace' for me:
>
> #+name: dtrn
> #+BEGIN_SRC R :results raw replace
> nwords <- 500
> nletters <- sapply(1:nwords, function(i) sample(1:10, 1))
> words <- sapply(nletters, function(i) paste(sample(letters, i),
> collapse=""))
> words[sample(nwords, 100)] <- "\n"
> paste(words, collapse=" ")
> #+END_SRC
That was not clear, indeed.
"raw" behaviour is only "useful" (i.e., mandatory) when you want to
insert a headline (or a drawer) as a result of a code block evaluation.
But then, you lose the ability to replace results. That's the limitation
I'm talking about.
In any other case, "drawer+replace" is the superior choice.
Regards,
--
Nicolas Goaziou
- Re: [O] Possible to use src block to generate org headlines for export?, (continued)
- Re: [O] Possible to use src block to generate org headlines for export?, Matt Lundin, 2014/07/23
- Re: [O] Possible to use src block to generate org headlines for export?, Charles Berry, 2014/07/23
- Re: [O] Possible to use src block to generate org headlines for export?, Matt Lundin, 2014/07/23
- Re: [O] Possible to use src block to generate org headlines for export?, Nick Dokos, 2014/07/23
- Re: [O] Possible to use src block to generate org headlines for export?, Andreas Leha, 2014/07/24
- Re: [O] Possible to use src block to generate org headlines for export?, Nicolas Goaziou, 2014/07/25
- Re: [O] Possible to use src block to generate org headlines for export?, Andreas Leha, 2014/07/25
- Re: [O] Possible to use src block to generate org headlines for export?, Nicolas Goaziou, 2014/07/25
- Re: [O] Possible to use src block to generate org headlines for export?, Andreas Leha, 2014/07/25
- Re: [O] Possible to use src block to generate org headlines for export?, Thorsten Jolitz, 2014/07/25
- Re: [O] Possible to use src block to generate org headlines for export?,
Nicolas Goaziou <=
- Re: [O] Possible to use src block to generate org headlines for export?, Andreas Leha, 2014/07/25
- Re: [O] Possible to use src block to generate org headlines for export?, Nicolas Goaziou, 2014/07/26
- Re: [O] Possible to use src block to generate org headlines for export?, Andreas Leha, 2014/07/26
- Re: [O] Possible to use src block to generate org headlines for export?, Charles Berry, 2014/07/24
- Re: [O] Possible to use src block to generate org headlines for export?, Nick Dokos, 2014/07/24
- Re: [O] Possible to use src block to generate org headlines for export?, Brett Viren, 2014/07/23
- Re: [O] Possible to use src block to generate org headlines for export?, Matt Lundin, 2014/07/23
- Re: [O] Possible to use src block to generate org headlines for export?, Brett Viren, 2014/07/24
- Re: [O] Possible to use src block to generate org headlines for export?, Rick Frankel, 2014/07/23