From mboxrd@z Thu Jan 1 00:00:00 1970 From: Vikas Rawal Subject: Re: org babel, ess, R Date: Mon, 3 Jul 2017 07:58:15 +0530 Message-ID: References: <87mv8o2u9b.fsf@nicolasgoaziou.fr> <3295F295-A14A-43EA-8752-53D1BEBCC31A@agrarianresearch.org> <87fuef1fov.fsf@nicolasgoaziou.fr> <829AC437-872D-453D-8543-B3C147F08B54@agrarianresearch.org> Mime-Version: 1.0 (Mac OS X Mail 10.2 \(3259\)) Content-Type: multipart/alternative; boundary="Apple-Mail=_85BECC70-755E-4351-8F98-0BD75564E4EB" Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:50526) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dRr68-00029Q-NK for emacs-orgmode@gnu.org; Sun, 02 Jul 2017 22:28:25 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dRr65-00064m-Iz for emacs-orgmode@gnu.org; Sun, 02 Jul 2017 22:28:24 -0400 Received: from mail-pf0-x236.google.com ([2607:f8b0:400e:c00::236]:35532) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1dRr65-00064W-Aa for emacs-orgmode@gnu.org; Sun, 02 Jul 2017 22:28:21 -0400 Received: by mail-pf0-x236.google.com with SMTP id c73so92646678pfk.2 for ; Sun, 02 Jul 2017 19:28:21 -0700 (PDT) In-Reply-To: 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" To: Andreas Kiermeier Cc: org-mode mailing list , Nicolas Goaziou --Apple-Mail=_85BECC70-755E-4351-8F98-0BD75564E4EB Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=utf-8 >=20 > for what it's worth, I usually run two windows (in the same frame), = side-by-side, with emacs maximised. > On the left I have my org file and on the right I have an R session, = which I start immediately after I open my org file. > When I use C-c ' on an R source block, the org buffer (on the left) is = replaced by by the source code edit buffer - leaving the R-session on = the right untouched. > That way I can either evaluate a whole code block (from org using C-c = C-c) or go through the source code line-by-line (using ESS). > Seems like that's what you want to do, too. > Anyway, just my two cents worth, in case it helps. Thanks Andreas. I am perhaps being to finicky. The problem with your = approach is that you would end up permanently losing screen space for = the R session. I don=E2=80=99t want the R session obstructing my writing = when I am not working on code blocks. Ideally, the R session should = appear only when I am editing the code blocks in an edit buffer. Vikas --Apple-Mail=_85BECC70-755E-4351-8F98-0BD75564E4EB Content-Transfer-Encoding: quoted-printable Content-Type: text/html; charset=utf-8

for = what it's worth, I usually run two windows (in the same frame), = side-by-side, with emacs maximised.
On the = left I have my org file and on the right I have an R session, which I = start immediately after I open my org file.
When I = use C-c ' on an R source block, the org buffer (on the left) is replaced = by by the source code edit buffer - leaving the R-session on the right = untouched.
That = way I can either evaluate a whole code block (from org using C-c C-c) or = go through the source code line-by-line (using ESS).
Seems = like that's what you want to do, too.
Anyway, = just my two cents worth, in case it = helps.

Thanks = Andreas. I am perhaps being to finicky. The problem with your approach = is that you would end up permanently losing screen space for the R = session. I don=E2=80=99t want the R session obstructing my writing when = I am not working on code blocks. Ideally, the R session should appear = only when I am editing the code blocks in an edit buffer.

Vikas

= --Apple-Mail=_85BECC70-755E-4351-8F98-0BD75564E4EB--