emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: William Denton <wtd@pobox.com>
To: emacs-orgmode@gnu.org
Subject: R-generated images not showing
Date: Wed, 11 Sep 2019 16:38:54 -0400 (EDT)	[thread overview]
Message-ID: <alpine.DEB.2.02.1909111631350.27658@shell.miskatonic.org> (raw)

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/

             reply	other threads:[~2019-09-11 20:39 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-09-11 20:38 William Denton [this message]
2019-09-11 21:06 ` R-generated images not showing Nick Dokos
2019-09-13 14:41   ` William Denton
2019-09-13 14:45     ` William Denton

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=alpine.DEB.2.02.1909111631350.27658@shell.miskatonic.org \
    --to=wtd@pobox.com \
    --cc=emacs-orgmode@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).