From: Neuwirth Erich <erich.neuwirth@univie.ac.at>
To: "emacs-orgmode@gnu.org emacs-orgmode@gnu.org" <emacs-orgmode@gnu.org>
Subject: Formatting R output
Date: Mon, 10 Sep 2012 14:12:00 +0200 [thread overview]
Message-ID: <CBD69A71-AEB7-486A-BA09-D82C119FF18A@univie.ac.at> (raw)
I am using org-mode with R.
I already wrote a message about formatting inline code some time ago.
After working more with R in org-mode (which I _really_ like) I have some
questions and/or suggestions.
1) a mild annoyance.
src_R{1+1} inserts the result 2 in the output. In fact, it inserts =2=.
When one runs the file repeatedly, org-mode does not remove older results.
So if I replace src_R{1+1} by src_R{2+2} and do not remove the last output,
My file will contain
src_R{2+2} =4= =2=
Also, If I run the inline code segment by C-c C-c one, the org file ail contain just 1
correct result, bit if afterwards I export the file (to LaTeX or html),
the exported file will have 2 copies of the result.
Is there anything the developers can do about this?
2) formatting inline output.
As discussed above, using inline code produces something like
src_R{2+2} =4=
In some cases, I would like the result to be not on fixed font.
Currently, I to not see a way of removing the equal signs before and after the result,
they seem to be added by org itself, therefore I cannot use trickery in R to remove them.
Could the developers think of an option which would allow to get the result
without the bracketing equal signs?
next reply other threads:[~2012-09-10 12:12 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-09-10 12:12 Neuwirth Erich [this message]
-- strict thread matches above, loose matches on Subject: below --
2012-09-10 14:48 Formatting R output G. Jay Kerns
2012-09-10 15:06 ` Nick Dokos
2012-09-10 15:17 ` Nick Dokos
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.orgmode.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=CBD69A71-AEB7-486A-BA09-D82C119FF18A@univie.ac.at \
--to=erich.neuwirth@univie.ac.at \
--cc=emacs-orgmode@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).