From mboxrd@z Thu Jan 1 00:00:00 1970 From: Suvayu Ali Subject: Re: remote plot with local output? Date: Mon, 14 Sep 2015 18:48:45 +0200 Message-ID: <20150914164845.GD2932@chitra.no-ip.org> References: <87bnd5gho8.fsf@gentoo.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:50017) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZbWw2-0001W2-O4 for emacs-orgmode@gnu.org; Mon, 14 Sep 2015 12:48:55 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZbWvy-0003Ri-TZ for emacs-orgmode@gnu.org; Mon, 14 Sep 2015 12:48:54 -0400 Received: from mail-ig0-x22b.google.com ([2607:f8b0:4001:c05::22b]:36076) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZbWvy-0003RM-OA for emacs-orgmode@gnu.org; Mon, 14 Sep 2015 12:48:50 -0400 Received: by igcrk20 with SMTP id rk20so92117081igc.1 for ; Mon, 14 Sep 2015 09:48:49 -0700 (PDT) Received: from chitra.no-ip.org ([2001:610:120:3001:2ad2:44ff:fe4a:b029]) by smtp.gmail.com with ESMTPSA id x1sm5698763igl.14.2015.09.14.09.48.47 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 14 Sep 2015 09:48:48 -0700 (PDT) Content-Disposition: inline In-Reply-To: <87bnd5gho8.fsf@gentoo.org> 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: emacs-orgmode@gnu.org On Tue, Sep 15, 2015 at 12:11:03AM +0900, Benda Xu wrote: > > My solution is to cache the result (:cache yes), execute the code block, > copy the output file to localhost, update the #+RESULTS link to the > local one, manually. Now I am facing many such tasks and feel like > automating that. Maybe, you could do all that in your python source block? You could use the :file header to specify where the plot gets copied to on the local filesystem. WDYT? -- Suvayu Open source is the future. It sets us free.