From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jack Kamm Subject: Re: Refresher on including R/ggplot2 output via latex/pdf? Date: Sun, 27 Oct 2019 22:03:52 -0700 Message-ID: <87imo9lavb.fsf@gmail.com> References: <87sgndlcbe.fsf@gmail.com> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:470:142:3::10]:34257) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iOxAe-00017k-6w for emacs-orgmode@gnu.org; Mon, 28 Oct 2019 01:02:26 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1iOxAd-000842-A0 for emacs-orgmode@gnu.org; Mon, 28 Oct 2019 01:02:24 -0400 Received: from mail-pg1-x534.google.com ([2607:f8b0:4864:20::534]:44123) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1iOxAc-00083w-HT for emacs-orgmode@gnu.org; Mon, 28 Oct 2019 01:02:22 -0400 Received: by mail-pg1-x534.google.com with SMTP id e10so6024639pgd.11 for ; Sun, 27 Oct 2019 22:02:22 -0700 (PDT) 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" To: John Hendy Cc: emacs-orgmode John Hendy writes: > On Sun, Oct 27, 2019 at 11:31 PM Jack Kamm wrote: >> >> Your code block looks fine to me. The typical R code block headers I use is as follows: > > Did you try to reproduce my example, by chance? I've just now tried executing/exporting your example code blocks, and they worked fine for me. When I execute them I get a link to a result png inserted into the buffer, and when I export to latex/pdf I get the plot image inserted correctly into the PDF. This is for the example code blocks in both the original and reply emails, with and without the :session header.