From mboxrd@z Thu Jan 1 00:00:00 1970 From: Sebastien Vauban Subject: Re: tangle call lines Date: Fri, 04 Apr 2014 10:39:13 +0200 Message-ID: <86ob0hij4e.fsf@somewhere.org> References: <877g78gode.fsf@med.uni-goettingen.de> Mime-Version: 1.0 Content-Type: text/plain Return-path: 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-mXXj517/zsQ@public.gmane.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org-mXXj517/zsQ@public.gmane.org To: emacs-orgmode-mXXj517/zsQ@public.gmane.org Andreas Leha wrote: > how do I go about to tangle a subtree full of call lines into a specific > file? Of course, tangling is not execution and call lines are meant for > execution, but in a scripting language (this is all about R code) the > two are not too different. > > Basically, I would love to see the code, that gets executed by > 'org-babel-execute-subtree' to be saved to a given file. Could you restate your objectives if I did not understand? What do you wanna save in a file: code, or code + results? If the former, what about using Noweb syntax (<> or even <>)? Best regards, Seb -- Sebastien Vauban