From mboxrd@z Thu Jan 1 00:00:00 1970 From: Sunny Srivastava Subject: [org-babel-R] Help: In converting an .org file to pdf, do I need to re-run the R code even if I ran them previously? Date: Thu, 2 Dec 2010 04:05:14 -0500 Message-ID: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0339966033==" Return-path: Received: from [140.186.70.92] (port=48182 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PO56L-0005qn-UF for emacs-orgmode@gnu.org; Thu, 02 Dec 2010 04:05:19 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1PO56J-0003RI-Ly for emacs-orgmode@gnu.org; Thu, 02 Dec 2010 04:05:17 -0500 Received: from mail-ew0-f41.google.com ([209.85.215.41]:55697) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1PO56J-0003R8-Fn for emacs-orgmode@gnu.org; Thu, 02 Dec 2010 04:05:15 -0500 Received: by ewy27 with SMTP id 27so17811335ewy.0 for ; Thu, 02 Dec 2010 01:05:14 -0800 (PST) List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: emacs-orgmode mailing list --===============0339966033== Content-Type: multipart/alternative; boundary=0015174c181a4e353e049669b8b1 --0015174c181a4e353e049669b8b1 Content-Type: text/plain; charset=ISO-8859-1 Hello Org-moders: I am trying to use org-mode, instead of Sweave, to write a report for a statistical analysis. During the process of writing, I prefer to export the org file to pdf to see the output (for sanity check). However, every time I do this, I get a question in minibuffer to choose if I want to "run the R code". I have three questions related to this: 1. Can I turn this feature off and let "org-babel-R" (sorry if this is something else) automatically choose YES if the code has not been run already and NO if the code has been already run. 2. Currently, if the code was run already, I choose NO. I am assuming this won't affect the results. Am I correct? (If I change something in the code I run it using C-c in org-mode before exporting it to pdf) 3. Is there a way to know which R code chunk is "org-babel-R" asking to run, when it asks the question about running the R code. I looked in the uses of org-babel-R webpage on worg, but could not see anything related to this. Sorry if I missed something or the query is too basic. Thank you. Regards, S. --0015174c181a4e353e049669b8b1 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Hello Org-moders:

I am trying to use org-mode,=A0instead= of Sweave,=A0to write a report for a statistical analysis. During the proc= ess of writing, I prefer to export the org file to pdf to see the output (f= or sanity check). However, every time I do this, I get a question in minibu= ffer to choose if I want to "run the R code". I have three questi= ons related to this:

1. Can I turn this feature off and let "org-babel-R&= quot; (sorry if this is something else) automatically choose YES if the cod= e has not been run already and NO if the code has been already run.

2. Currently, if the code was run already, I choose NO.= I am assuming this won't affect the results. Am I correct? (If I chang= e something in the code I run it using C-c in org-mode before exporting it = to pdf)

3. Is there a way to know which R code chunk is "o= rg-babel-R" asking to run, when it asks the question about running the= R code.=A0

I looked in the uses of org-babel-R we= bpage on worg, but could not see anything related to this. Sorry if I misse= d something or the query is too basic.

Thank you.

Regards,
= S.

--0015174c181a4e353e049669b8b1-- --===============0339966033== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode --===============0339966033==--