From mboxrd@z Thu Jan 1 00:00:00 1970 From: Lawrence Mitchell Subject: Re: evaluating all R code blocks (newbie question) Date: Thu, 20 Jan 2011 15:38:34 +0000 Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from [140.186.70.92] (port=38378 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PfwbA-0001a7-0T for emacs-orgmode@gnu.org; Thu, 20 Jan 2011 10:38:58 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Pfwb8-00008a-HU for emacs-orgmode@gnu.org; Thu, 20 Jan 2011 10:38:56 -0500 Received: from lo.gmane.org ([80.91.229.12]:45599) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Pfwb8-00008R-9M for emacs-orgmode@gnu.org; Thu, 20 Jan 2011 10:38:54 -0500 Received: from list by lo.gmane.org with local (Exim 4.69) (envelope-from ) id 1Pfwb4-0005sz-2V for emacs-orgmode@gnu.org; Thu, 20 Jan 2011 16:38:50 +0100 Received: from e4300lm.epcc.ed.ac.uk ([129.215.63.156]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 20 Jan 2011 16:38:50 +0100 Received: from wence by e4300lm.epcc.ed.ac.uk with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 20 Jan 2011 16:38:50 +0100 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@gnu.org Julian Burgos wrote: > Dear list, > Hopefully this is not too basic, nor has been answered before. > I would like to know if there is away to have alll R code blocks in a > document evaluated automatically (i.e. without query) when exporting > to Latex. Now I have to answer "yes" multiple times to the question > "Evaluate this R code block in your system" every time I do an export, > which is somewhat annoying. See the variable `org-confirm-babel-evaluate'. Be careful about unilaterally setting it to nil in case you receive org files with code blocks from people you don't trust. Cheers, Lawrence -- Lawrence Mitchell