From mboxrd@z Thu Jan  1 00:00:00 1970
From: Xebar Saram <zeltakc@gmail.com>
Subject: run R code block in the background (currently emacs freezes when
 running code)
Date: Thu, 24 Apr 2014 20:09:26 +0300
Message-ID: <CAOQHXPrSNR2J+tmczr-K_3UroNU+QNHwTvgLzhVmocCe3_hs8w@mail.gmail.com>
Mime-Version: 1.0
Content-Type: multipart/alternative; boundary=001a11c33b024aa98504f7cce99d
Return-path: <emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org>
Received: from eggs.gnu.org ([2001:4830:134:3::10]:47906)
	by lists.gnu.org with esmtp (Exim 4.71)
	(envelope-from <zeltakc@gmail.com>) id 1WdUdH-0002cw-GF
	for emacs-orgmode@gnu.org; Thu, 24 Apr 2014 21:09:39 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <zeltakc@gmail.com>) id 1WdN9L-0002qc-91
	for emacs-orgmode@gnu.org; Thu, 24 Apr 2014 13:09:29 -0400
Received: from mail-oa0-x236.google.com ([2607:f8b0:4003:c02::236]:34851)
	by eggs.gnu.org with esmtp (Exim 4.71)
	(envelope-from <zeltakc@gmail.com>) id 1WdN9L-0002po-2i
	for emacs-orgmode@gnu.org; Thu, 24 Apr 2014 13:09:27 -0400
Received: by mail-oa0-f54.google.com with SMTP id i7so3005471oag.27
	for <emacs-orgmode@gnu.org>; Thu, 24 Apr 2014 10:09:26 -0700 (PDT)
List-Id: "General discussions about Org-mode." <emacs-orgmode.gnu.org>
List-Unsubscribe: <https://lists.gnu.org/mailman/options/emacs-orgmode>,
	<mailto:emacs-orgmode-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/archive/html/emacs-orgmode>
List-Post: <mailto:emacs-orgmode@gnu.org>
List-Help: <mailto:emacs-orgmode-request@gnu.org?subject=help>
List-Subscribe: <https://lists.gnu.org/mailman/listinfo/emacs-orgmode>,
	<mailto:emacs-orgmode-request@gnu.org?subject=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: org mode <emacs-orgmode@gnu.org>

--001a11c33b024aa98504f7cce99d
Content-Type: text/plain; charset=UTF-8

Hi all. how does one send the eval commands to the when running R code
blocks to RSS to the  background? currently when i evaluate a long code
block it freezes Emacs until the process is done. here is an example code
block i use:

#+BEGIN_SRC R :session R1  :results output
log.sga.270 <- glm(NSGA ~
IQRfintempmabirth+sinetime+costime+age_centered+age_centered_sq+cig_preg+cig_pre+med_income+p_ospace+gender+prev_400+
diab+hyper+lungd+diab_other+prevpret+as.factor(kess)+as.factor(MRN)+as.factor(edu_group)+as.factor(byob)+parity,data=bd,family=binomial)
summary(log.sga.270)
#+END_SRC


thx so much in advance

Z

--001a11c33b024aa98504f7cce99d
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr"><div>Hi all. how does one send the eval commands to the wh=
en running R code blocks to RSS to the =C2=A0background? currently when i e=
valuate a long code block it freezes Emacs until the process is done. here =
is an example code block i use:</div>
<div><br></div><div><div>#+BEGIN_SRC R :session R1 =C2=A0:results output</d=
iv><div>log.sga.270 &lt;- glm(NSGA ~ IQRfintempmabirth+sinetime+costime+age=
_centered+age_centered_sq+cig_preg+cig_pre+med_income+p_ospace+gender+prev_=
400+ diab+hyper+lungd+diab_other+prevpret+as.factor(kess)+as.factor(MRN)+as=
.factor(edu_group)+as.factor(byob)+parity,data=3Dbd,family=3Dbinomial)</div=
>
<div>summary(log.sga.270)</div><div>#+END_SRC</div><div><br></div></div><di=
v><br></div><div>thx so much in advance</div><div><br></div><div>Z</div></d=
iv>

--001a11c33b024aa98504f7cce99d--