buffer. I understand why, but
perhaps the "silent" option should be turned on by default for org code
blocks?
David
On Thu, Aug 26, 2010 at 23:51, David Hajage wrote:
> Oups, I forgot ob-org in my .emacs... OK, now, really sorry for this.
> David
>
>
>
> On Thu, Aug
Oups, I forgot ob-org in my .emacs... OK, now, really sorry for this.
David
On Thu, Aug 26, 2010 at 22:20, David Hajage wrote:
> I am so sorry to bother you again, but I must miss something.
>
> When I write:
>
> #+begin_src R :results output org :exports both
> librar
e interpreted as inline
> org-mode text on export. This is done through some non-standard default
> header arguments described in the recent commit message (see [2])
>
> Best -- Eric
>
> "Eric Schulte" writes:
>
> > Hi David,
> >
> > "#+e
an Davison wrote:
> Erik Iverson writes:
>
> > David,
> >
> > On 08/18/2010 08:09 AM, David Hajage wrote:
> >> Hello,
> >>
> >> I am back with babel and R with a new question. Is it possible to
> >> interweave each line
Thanks!
David
On Wed, Aug 18, 2010 at 15:15, Erik Iverson wrote:
> David,
>
>
> On 08/18/2010 08:09 AM, David Hajage wrote:
>
>> Hello,
>>
>> I am back with babel and R with a new question. Is it possible to
>> interweave each line of code with its resu
Hello,
I am back with babel and R with a new question. Is it possible to
interweave each line of code with its results?
An example to explain what I mean:
#+SRCNAME: foo
#+BEGIN_SRC R :results output :exports results
2+2
3+3
#+END_SRC
#+results: foo
: [1] 4
: [1] 6
When exporting (to html
Well, it seems a good solution to me!
David
On Wed, Aug 18, 2010 at 09:32, Christian Moe wrote:
> Giovanni Ridolfi wrote:
>
>> David Hajage writes:
>>
>> and I was wondering if row and col spaning was possible?
>>>
>> Currently not. But, if this is
end_results: foo" at
the end of the output could do the job. Then, the option "replace" could
work in all situation, even if a blank line is inserted somewhere in the org
output. No?
David
On Tue, Aug 17, 2010 at 17:15, Eric Schulte wrote:
> Hi David,
>
> David Hajage write
---
> #+srcname: foo
> #+begin_src R :session *R*
> head(esoph)
> #+end_src
> --8<---cut here---end------->8---
>
> One last small note: the "replace" argument to :results is normally the
> default value, and doesn't need to be ex
gt;", but an extra space.
But, the replace option doesn't work: results are still appended. I am not
an org-mode guru (far, far away), but I think this is because when output is
org, there is no indication about the "end" of the results.
David
On Tue, Aug 17, 2010 at 10:17, D
Hello,
I am trying to use babel with R. Here the code:
#+srcname: foo
#+begin_src R :session *R* :results output org replace
library(ascii)
options(asciiType = "org")
ascii(head(esoph))
#+end_src
#+results: foo
> | | agegp | alcgp | tobgp| ncases | ncontrols |
|---+---+-
I think you need to add 'results output org' to the header.
Do not try to convert ascii objects into data.frame, ascii() just
print several classes or R objects with org markup. Not all R objects
are supported, see methods(ascii).
Some examples here:
http://orgmode.org/worg/org-contrib/babel/exam
Hello,
I think org-mode is a very great tool. I use a lot of tables in my documents
produced with org, and I was wondering if row and col spaning was possible?
If not, is there any plan to add this feature in a future release? So that
this kind of tables work:
|---+---+-+---+-
ould be
interesting to hear any further thoughts you have on the different ways
of using R in conjunction with Org and Org-babel using it.
Dan
>
> Thank you very much for your attention.
>
> David Hajage
>
> PS - a working example:
>
>> library(ascii)
>> options(asciiTy
Hello,
I would like to escape '|' character in a table. Is it possible?
For example:
| p(t > \|x\|) |
|--|
| 0.1 |
'Export as HTML' or 'export as LaTeX' doesn't produce the correct output (
org-mode 6.36 in emacs 23).
Thank you very much for any help.
david
L'intégrité
"LaTeX code from R" on this page:
http://orgmode.org/worg/org-contrib/babel/languages/org-babel-doc-R.php#sec-4
Thank you very much for your attention.
David Hajage
PS - a working example:
> library(ascii)
> options(asciiType = "org")
> x <- rnorm
16 matches
Mail list logo