From mboxrd@z Thu Jan 1 00:00:00 1970 From: John Hendy Subject: Re: Refresher on including R/ggplot2 output via latex/pdf? Date: Mon, 28 Oct 2019 02:43:26 -0500 Message-ID: References: <87sgndlcbe.fsf@gmail.com> <87imo9lavb.fsf@gmail.com> <875zk9qtta.fsf@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Return-path: Received: from eggs.gnu.org ([2001:470:142:3::10]:47575) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iOzgi-00005q-Jb for emacs-orgmode@gnu.org; Mon, 28 Oct 2019 03:43:41 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1iOzgh-00066E-8R for emacs-orgmode@gnu.org; Mon, 28 Oct 2019 03:43:40 -0400 Received: from mail-qt1-x82e.google.com ([2607:f8b0:4864:20::82e]:34388) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1iOzgh-00065f-2c for emacs-orgmode@gnu.org; Mon, 28 Oct 2019 03:43:39 -0400 Received: by mail-qt1-x82e.google.com with SMTP id e14so13346356qto.1 for ; Mon, 28 Oct 2019 00:43:38 -0700 (PDT) In-Reply-To: <875zk9qtta.fsf@gmail.com> 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: Jack Kamm Cc: emacs-orgmode On Mon, Oct 28, 2019 at 1:14 AM Jack Kamm wrote: > > > This is with emacs -Q and loading the minimal config from the initial > > email. Any ideas on where I might look next? > > Sorry, I don't have many ideas here. Have you checked that ggplot works fine in a regular R session? Indeed, it does. And as mentioned, if I used :results file graphics, everything works. It's able to plot and write to file... the magic just isn't happening with :results output graphics for some reason. > I tried again with emacs -Q and the minimal config below and it still worked fine for me: > > ---- > ;; set load paths > ;; set load dirs and global config options > (add-to-list 'load-path "~/.emacs.d/elpa/org-plus-contrib-20190729/") > (add-to-list 'load-path "~/.emacs.d/elpa/ess-20190627.1806/") > > (require 'ess) > (require 'ess-r-mode) > > ; setup babel languages > (org-babel-do-load-languages > 'org-babel-load-languages > '((R . t))) > ----