emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: "Eric Schulte" <schulte.eric@gmail.com>
To: Rainer M Krug <r.m.krug@gmail.com>
Cc: emacs-orgmode <emacs-orgmode@gnu.org>
Subject: Re: org-babel - First line of file created by tangle
Date: Wed, 03 Feb 2010 10:22:20 -0700	[thread overview]
Message-ID: <873a1ib5f7.fsf@gmail.com> (raw)
In-Reply-To: <fb7c7e871002022352y346ee807mb394174466ca6cc0@mail.gmail.com> (Rainer M. Krug's message of "Wed, 3 Feb 2010 09:52:12 +0200")

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 <r.m.krug@gmail.com> writes:

> Hi
>
> I am sure I can customize it, but I could not find it. 
> 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 completely, or replace it with
> e.g. "## R"
>
> I am sourcing the files anyway from a different R session and I don't need to execute them directly.
>
> Cheers,
>
> Rainer
>
> --
> NEW GERMAN FAX NUMBER!!!
>
> Rainer M. Krug, PhD (Conservation Ecology, SUN), MSc (Conservation Biology, 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:           +27 - (0)83 9479 042
> Fax:            +27 - (0)86 516 2782
> Fax:            +49 - (0)321 2125 2244
> email:          Rainer@krugs.de
>
> Skype:          RMkrug
> Google:         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

  reply	other threads:[~2010-02-03 17:22 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-02-03  7:52 org-babel - First line of file created by tangle Rainer M Krug
2010-02-03 17:22 ` Eric Schulte [this message]
2010-02-03 19:38   ` Rainer M Krug
2010-02-03 20:15     ` Eric Schulte
2010-02-04  6:47       ` Rainer M Krug

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=873a1ib5f7.fsf@gmail.com \
    --to=schulte.eric@gmail.com \
    --cc=emacs-orgmode@gnu.org \
    --cc=r.m.krug@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).