emacs-orgmode
[Top][All Lists]
Advanced

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

Re: [O] [babel] [bug?] create graph in R


From: Michael Hannon
Subject: Re: [O] [babel] [bug?] create graph in R
Date: Tue, 17 Apr 2012 12:05:41 -0700 (PDT)

On Tuesday, April 17, 2012 at 7:46 AM Sebastien Vauban wrote:

>Hi Rainer,
>
>Rainer M Krug wrote:
>> I am irritated - shouldn't the following create a pdf?
>>
>> #+begin_src R :results file :file sustEconOnlyNonRec.pdf :session R
>>   plot(runif(100))
>> #+end_src
>>
>> I am getting no error messages in the R console, nothing in the messages?
>
>I'm not using R -- yet! --, so I'm not sure about the following, but please
>check whether you must write:
>
>  #+begin_src R :results file :file sustEconOnlyNonRec.pdf
>
>or
>
>  #+begin_src R :results graphics :file sustEconOnlyNonRec.pdf
>

Hi, Seb.  Your suggestion produces what I take to be the desired output on my
system:

$ uname -a
Linux mikehppc.gh.lan 3.3.1-5.fc16.x86_64 #1 SMP Tue Apr 10 19:56:52 UTC 2012
x86_64 x86_64 x86_64 GNU/Linux

$ emacs --version
GNU Emacs 23.3.1
Copyright (C) 2011 Free Software Foundation, Inc.

Org-mode version 7.8.03 (release_7.8.03.324.gc4b233)

$ R --version
R version 2.15.0 (2012-03-30)

-- Mike



reply via email to

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