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 11:30:57 -0500 Message-ID: References: <87sgndlcbe.fsf@gmail.com> <87imo9lavb.fsf@gmail.com> <875zk9qtta.fsf@gmail.com> <08172A54-EF30-43BB-84E2-C573C7EA14B2@ucsd.edu> Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Return-path: Received: from eggs.gnu.org ([2001:470:142:3::10]:40464) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iP7xh-0000yN-K5 for emacs-orgmode@gnu.org; Mon, 28 Oct 2019 12:33:46 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1iP7vG-0004Lz-OX for emacs-orgmode@gnu.org; Mon, 28 Oct 2019 12:31:17 -0400 Received: from mail-qt1-x833.google.com ([2607:f8b0:4864:20::833]:42118) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1iP7vG-0004F6-KH for emacs-orgmode@gnu.org; Mon, 28 Oct 2019 12:31:14 -0400 Received: by mail-qt1-x833.google.com with SMTP id z17so8801984qts.9 for ; Mon, 28 Oct 2019 09:31:09 -0700 (PDT) In-Reply-To: <08172A54-EF30-43BB-84E2-C573C7EA14B2@ucsd.edu> 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: "Berry, Charles" Cc: Jack Kamm , emacs-orgmode On Mon, Oct 28, 2019 at 11:22 AM Berry, Charles wrote: > > > > > On Oct 28, 2019, at 12:43 AM, John Hendy wrote: > > > > 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. > > > > > > > To wit: > > commit 5c55d3a53c982563c0409e342b8940009e1409f2 > Author: Nicolas Goaziou > Date: Sat Aug 24 00:04:06 2019 +0200 > > manual: Remove erroneous footnote about :file header argument > > * doc/org-manual.org (Type): :file header argument no longer > implies :results file. > > commit 26ed66b23335eb389f1f2859e409f46f66279e15 > Author: Nicolas Goaziou > Date: Sat Oct 6 08:56:05 2018 +0200 > > ob: :file and :file-ext no longer imply :results file > > * lisp/ob-core.el (org-babel-execute-src-block): ":results file" must > be specified in order to return a file. > (org-babel-merge-params): :file and :file-ext no longer imply :results > file. > * testing/lisp/test-ob.el (test-ob/indented-cached-org-bracket-link): > (test-ob/result-file-link-type-header-argument): > (test-ob/result-graphics-link-type-header-argument): Update tests. > > Deducing the results from some other arguments is not obvious. > Moreover, it prevents users from setting, e.g., :file-ext, in a node > property, as every block would then create a file. > > Reported-by: Alex Fenton > Ok, this is promising. How do we explain the results, though? I had this issue in the original post on: Org mode version 9.2.4 (release_9.2.4-381-g226363 @ /home/jwhendy/.elisp/org/lisp/) commit 226363482305d596bfb91e50246eb82d78689795 Author: Nicolas Goaziou Date: Sat Jun 22 09:33:33 2019 +0200 Then I updated and still got the same behavior on: Org mode version 9.2.6 (release_9.2.6-559-ga01a8f @ /home/jwhendy/.elisp/org/lisp/) commit a01a8f55d8bf259ebecc050c162c48e29da13bee (HEAD -> master, origin/master, origin/HEAD) Merge: 58ceff522 9c611fd8a Author: Kyle Meyer Date: Sun Oct 27 15:55:30 2019 -0400 My questions: 1) why didn't my example work for me on the commit from Jun 22 (< Aug or Oct) 2) why does this [still] work for Jack? (Jack, what's M-x org-version for you?) 3) optionally: can you reproduce the issue? Thanks, John > HTH, > > Chuck > > >