From mboxrd@z Thu Jan 1 00:00:00 1970 From: Eric Schulte Subject: Re: Code vanishes on export Date: Wed, 24 Aug 2011 07:58:37 -0600 Message-ID: <87liui7vxu.fsf@gmail.com> References: <20110824101326.GA13980@panahar> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([140.186.70.92]:53857) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QwDye-0004el-N2 for emacs-orgmode@gnu.org; Wed, 24 Aug 2011 09:58:45 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1QwDyd-00032m-7O for emacs-orgmode@gnu.org; Wed, 24 Aug 2011 09:58:44 -0400 Received: from mail-gw0-f41.google.com ([74.125.83.41]:61305) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QwDyd-00031I-43 for emacs-orgmode@gnu.org; Wed, 24 Aug 2011 09:58:43 -0400 Received: by gwaa20 with SMTP id a20so936514gwa.0 for ; Wed, 24 Aug 2011 06:58:42 -0700 (PDT) In-Reply-To: <20110824101326.GA13980@panahar> (Vikas Rawal's message of "Wed, 24 Aug 2011 15:43:26 +0530") 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: emacs-orgmode@gnu.org Vikas Rawal writes: > I have been having some strange behaviour with my orgmode files > containing R code. When I export the file (to html), the code vanishes > and is replaced by value that is calculated by the code. I obviously > do not want the code to be removed from my org file. > > I did not have this problem earlier and it seems to have appeared > after a recent upgrade. > > Could someone please help trace the problem. > There are ways of controlling whether code or results or both or neither are included in code export. Please see the following sections of the manual. http://orgmode.org/manual/Working-With-Source-Code.html http://orgmode.org/manual/Header-arguments.html http://orgmode.org/manual/exports.html If those don't solve your problem then please (as suggested elsewhere in this thread) do share a complete minimal example. Thanks -- Eric > > Vikas > -- Eric Schulte http://cs.unm.edu/~eschulte/