From mboxrd@z Thu Jan 1 00:00:00 1970 From: William Denton Subject: R-generated images not showing Date: Wed, 11 Sep 2019 16:38:54 -0400 (EDT) Message-ID: Mime-Version: 1.0 Content-Type: TEXT/PLAIN; format=flowed; charset=US-ASCII Return-path: Received: from eggs.gnu.org ([2001:470:142:3::10]:47111) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1i89OF-0007CA-Qn for emacs-orgmode@gnu.org; Wed, 11 Sep 2019 16:39:01 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1i89OE-00081v-Gl for emacs-orgmode@gnu.org; Wed, 11 Sep 2019 16:38:59 -0400 Received: from shell.miskatonic.org ([54.39.142.95]:59902) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1i89OE-0007wM-DQ for emacs-orgmode@gnu.org; Wed, 11 Sep 2019 16:38:58 -0400 Received: from localhost (localhost [127.0.0.1]) by shell.miskatonic.org (Postfix) with ESMTP id CF4A94C00CFA for ; Wed, 11 Sep 2019 16:38:54 -0400 (EDT) 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" To: emacs-orgmode@gnu.org This problem started for me a little while ago: images generated from R source blocks no longer appear even though I have images display turned on. For example, this file: # ----- #+begin_src R :results graphics file :file /tmp/src.png x <- seq(-4, 4, length=200) y <- dnorm(x, mean=0, sd=1) plot(x,y, type = "l", lwd = 2, xlim = c(-3.5,3.5)) #+end_src #+RESULTS: [[file:/tmp/src.png]] # ----- I don't see the image, I just see the text "file:/tmp/src.png". When image-display is off (C-c C-x C-v) it becomes a link, and when I toggle it back on it's just plain text. The file on disk really is there and is a valid image. If I run the three R lines in an ESS window (M-x R) then the image pops up in its own window, as normal. I ran "emacs -Q" and loaded up Org and enough Babel stuff to the source block to work, and the image appeared inline as it should! So it's something to do with my config [1] but I can't figure out what. Has anyone ever had this happen, or noticed it recently? I'm compiling Emacs and Org from source and both are current. I'm not sure what the easiest way to identify the problem is. Bill [1] https://github.com/wdenton/.emacs.d/blob/master/setup/setup-orgmode.el -- William Denton :: Toronto, Canada --- Listening to Art: https://listeningtoart.org/ https://www.miskatonic.org/ --- GHG.EARTH: http://ghg.earth/ Caveat lector. --- STAPLR: http://staplr.org/