From mboxrd@z Thu Jan 1 00:00:00 1970 From: Christian Moe Subject: Re: #+call: and file link Date: Sat, 02 Jul 2011 21:19:00 +0200 Message-ID: <4E0F6F24.7090506@christianmoe.com> References: Reply-To: mail@christianmoe.com Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Return-path: Received: from eggs.gnu.org ([140.186.70.92]:40993) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Qd5gy-0003D9-B6 for emacs-orgmode@gnu.org; Sat, 02 Jul 2011 15:17:25 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Qd5gx-0006h9-Id for emacs-orgmode@gnu.org; Sat, 02 Jul 2011 15:17:24 -0400 Received: from mars.hitrost.net ([91.185.211.18]:49361) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Qd5gx-0006gT-Bv for emacs-orgmode@gnu.org; Sat, 02 Jul 2011 15:17:23 -0400 In-Reply-To: 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: "Thomas S. Dye" Cc: emacs-orgmode@gnu.org 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 >