[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [O] R plots always exported to Rplots.pdf
From: |
Jay Kerns |
Subject: |
Re: [O] R plots always exported to Rplots.pdf |
Date: |
Wed, 22 May 2013 09:38:30 -0400 |
Hi Greg,
On Wed, May 22, 2013 at 8:23 AM, Greg Slodkowicz <address@hidden> wrote:
[snip]
> This is what my code block looks like:
>
> #+NAME: pvals_waw
> #+BEGIN_SRC R :file fig1.png :exports results
> pvals = read.table("waw_data.txt", header=T)
> plot(pvals$pvalue, pvals$length)
> #+END_SRC
>
Have you tried (something like) this?
#+BEGIN_SRC R :exports results :results graphics :file fig1.png
I hope this helps,
--
Jay