emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Refresher on including R/ggplot2 output via latex/pdf?


From: Berry, Charles
Subject: Re: Refresher on including R/ggplot2 output via latex/pdf?
Date: Mon, 28 Oct 2019 16:21:50 +0000


> On Oct 28, 2019, at 12:43 AM, John Hendy <address@hidden> wrote:
> 
> On Mon, Oct 28, 2019 at 1:14 AM Jack Kamm <address@hidden> 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 <address@hidden>
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 <address@hidden>
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 <address@hidden>
    <http://lists.gnu.org/r/emacs-orgmode/2018-05/msg00469.html>

HTH,

Chuck






reply via email to

[Prev in Thread] Current Thread [Next in Thread]