From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Eric Schulte" Subject: Re: org-babel - First line of file created by tangle Date: Wed, 03 Feb 2010 10:22:20 -0700 Message-ID: <873a1ib5f7.fsf@gmail.com> References: Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Nciw2-0004Tr-FF for emacs-orgmode@gnu.org; Wed, 03 Feb 2010 12:22:38 -0500 Received: from [199.232.76.173] (port=46214 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Nciw1-0004TY-QY for emacs-orgmode@gnu.org; Wed, 03 Feb 2010 12:22:37 -0500 Received: from Debian-exim by monty-python.gnu.org with spam-scanned (Exim 4.60) (envelope-from ) id 1Ncivv-00011b-2e for emacs-orgmode@gnu.org; Wed, 03 Feb 2010 12:22:37 -0500 Received: from mail-bw0-f209.google.com ([209.85.218.209]:58618) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1Ncivu-00010i-Bo for emacs-orgmode@gnu.org; Wed, 03 Feb 2010 12:22:30 -0500 Received: by bwz1 with SMTP id 1so1520356bwz.32 for ; Wed, 03 Feb 2010 09:22:26 -0800 (PST) In-Reply-To: (Rainer M. Krug's message of "Wed, 3 Feb 2010 09:52:12 +0200") 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: Rainer M Krug Cc: emacs-orgmode Hi Rainer, I just responded to your other email with a global solution to this problem. Do you think this is the sort of thing that would need to be customized on a per-block or per-file/subtree basis? If so we may want to move this customization behind a header argument. Thanks -- Eric Rainer M Krug writes: > Hi > > I am sure I can customize it, but I could not find it.=C2=A0 > When tangling R code, I would like to skip (or customize) the first line = of the resulting R file. It > reads "#!/usr/bin/env Rscript" and I would either like to exclude it comp= letely, or replace it with > e.g. "## R" > > I am sourcing the files anyway from a different R session and I don't nee= d to execute them directly. > > Cheers, > > Rainer > > -- > NEW GERMAN FAX NUMBER!!! > > Rainer M. Krug, PhD (Conservation Ecology, SUN), MSc (Conservation Biolog= y, UCT), Dipl. Phys. > (Germany) > > Centre of Excellence for Invasion Biology > Natural Sciences Building > Office Suite 2039 > Stellenbosch University > Main Campus, Merriman Avenue > Stellenbosch > South Africa > > Cell: =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 +27 - (0)83 9479 042 > Fax: =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0+27 - (0)86 516 2782 > Fax: =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0+49 - (0)321 2125 2244 > email: =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0Rainer@krugs.de > > Skype: =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0RMkrug > Google: =C2=A0 =C2=A0 =C2=A0 =C2=A0 R.M.Krug@gmail.com > > _______________________________________________ > 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