From mboxrd@z Thu Jan 1 00:00:00 1970 From: Thorsten Jolitz Subject: Re: Babel-R vs. ESS Date: Wed, 25 Jun 2014 11:33:18 +0200 Message-ID: <87fvit1ggx.fsf@gmail.com> References: Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:37044) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WzjaF-0001IK-Mg for emacs-orgmode@gnu.org; Wed, 25 Jun 2014 05:33:48 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Wzja8-0007LK-7c for emacs-orgmode@gnu.org; Wed, 25 Jun 2014 05:33:39 -0400 Received: from plane.gmane.org ([80.91.229.3]:54550) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Wzja8-0007LB-1k for emacs-orgmode@gnu.org; Wed, 25 Jun 2014 05:33:32 -0400 Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1Wzja6-00080c-IN for emacs-orgmode@gnu.org; Wed, 25 Jun 2014 11:33:30 +0200 Received: from e178059054.adsl.alicedsl.de ([85.178.59.54]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 25 Jun 2014 11:33:30 +0200 Received: from tjolitz by e178059054.adsl.alicedsl.de with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 25 Jun 2014 11:33:30 +0200 List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: emacs-orgmode@gnu.org Shiyuan 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