emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Thorsten Jolitz <tjolitz@gmail.com>
To: emacs-orgmode@gnu.org
Subject: Re: Babel-R vs. ESS
Date: Wed, 25 Jun 2014 11:33:18 +0200	[thread overview]
Message-ID: <87fvit1ggx.fsf@gmail.com> (raw)
In-Reply-To: CAOm4EMvz06fzDyrsVi+htTpiv1qo6D3mSumi80T26nJ9iP4bpg@mail.gmail.com

Shiyuan <gshy2014@gmail.com> writes:

> Hi all, 
> I am learning R and use Emacs to work with R. I googled around and I
> found two options: ESS and Org-R/Org-Babel. 
> Babel speaks multiple languages( Any languages?-if we write some sort
> of parser, which I assume is not terribly difficult under Babel?). 
>
> But if R is the primary language I would use, which option (Babel-R vs
> ESS) is more advisable? I do want a nice integration of
> graphics/source code into a paper/slides. 
>
> Any suggestions/options are appreciated. 

When you write a paper or slides Org(-Babel) is your best friend, I
would say. When its more about R programming with some sophisticated
documentation you could use outshine.el + outorg.el alternatively.

With Org, you are in a text-mode and have your (multi-language) code
'hidden' in source-blocks. For editing code, you switch to temporary
buffers in the programming-language mode. 

With Outshine&Outorg, you are in a programming-mode (ESS[R]) and have
your documentation 'hidden' as comments. For editing (comment-) text,
you switch to a temporary edit buffer in org-mode. 

I think there is even a third option, i.e. just using ESS[R] and nothing
else, I remember reading it has some multi-mode capabilities for
literate programming with sweave, but I'm not sure.

-- 
cheers,
Thorsten

  reply	other threads:[~2014-06-25  9:33 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-06-25  7:08 Babel-R vs. ESS Shiyuan
2014-06-25  9:33 ` Thorsten Jolitz [this message]
2014-06-25 14:31 ` Ista Zahn
2014-06-25 14:44   ` Erik Iverson
2014-06-25 17:39 ` Joost Helberg

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=87fvit1ggx.fsf@gmail.com \
    --to=tjolitz@gmail.com \
    --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).