From mboxrd@z Thu Jan 1 00:00:00 1970 From: Xebar Saram 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: Mime-Version: 1.0 Content-Type: multipart/alternative; boundary=001a11c33b024aa98504f7cce99d Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:47906) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) 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 ) 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 ) 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 ; Thu, 24 Apr 2014 10:09:26 -0700 (PDT) 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: org mode --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
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:

#+BEGIN_SRC R :session R1 =C2=A0: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=3Dbd,family=3Dbinomial)
summary(log.sga.270)
#+END_SRC


thx so much in advance

Z
--001a11c33b024aa98504f7cce99d--