From mboxrd@z Thu Jan 1 00:00:00 1970 From: tsd@tsdye.com (Thomas S. Dye) Subject: Re: #+call: and file link Date: Sat, 02 Jul 2011 10:14:03 -1000 Message-ID: References: <4E0F6F24.7090506@christianmoe.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Received: from eggs.gnu.org ([140.186.70.92]:34060) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Qd6Zv-00071B-Ek for emacs-orgmode@gnu.org; Sat, 02 Jul 2011 16:14:12 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Qd6Zt-0007ea-UX for emacs-orgmode@gnu.org; Sat, 02 Jul 2011 16:14:11 -0400 Received: from oproxy3-pub.bluehost.com ([69.89.21.8]:40220) by eggs.gnu.org with smtp (Exim 4.71) (envelope-from ) id 1Qd6Zt-0007eR-MK for emacs-orgmode@gnu.org; Sat, 02 Jul 2011 16:14:09 -0400 In-Reply-To: <4E0F6F24.7090506@christianmoe.com> (Christian Moe's message of "Sat, 02 Jul 2011 21:19:00 +0200") 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: mail@christianmoe.com Cc: emacs-orgmode@gnu.org Aloha Christian, Thanks! That's just what I wanted. All the best, Tom Christian Moe writes: > Aloha, > > Try this (should be one line): > > #+call: dated-events-plot[:file out.pdf](bcal=test, theme="gray") > :results file > > Yours, > Christian > > > > On 7/2/11 8:45 PM, Thomas S. Dye wrote: >> Aloha all, >> >> I have a generic R function that creates a plot and returns a link to >> the file in the #+results: line. >> >> When I #+call: the function as follows the plot file is output >> correctly, but the #+results: line doesn't contain a link. >> >> #+call: dated-events-plot[:file out.pdf](bcal=test, theme="gray") >> >> #+results: dated-events-plot[:file out.pdf](bcal=test, theme="gray") >> : out.pdf >> >> How can I #+call: my generic function so the #+results: line contains a >> link? >> >> All the best, >> Tom >> > -- Thomas S. Dye http://www.tsdye.com