emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Jay Kerns <gjkernsysu@gmail.com>
To: Greg Slodkowicz <gregs@ebi.ac.uk>
Cc: emacs-orgmode@gnu.org
Subject: Re: R plots always exported to Rplots.pdf
Date: Wed, 22 May 2013 09:38:30 -0400	[thread overview]
Message-ID: <CAFiLVraKQkD7+V--a1cZXTcgXPqKete507qGUnT2WGRmEHF6mg@mail.gmail.com> (raw)
In-Reply-To: <CAGY-8BJfgaDsAg9tgCehn+TRENXWcB0W7H1mFsJjE0eEJ1XOww@mail.gmail.com>

Hi Greg,

On Wed, May 22, 2013 at 8:23 AM, Greg Slodkowicz <gregs@ebi.ac.uk> 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

  parent reply	other threads:[~2013-05-22 13:38 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-05-22 12:23 R plots always exported to Rplots.pdf Greg Slodkowicz
2013-05-22 13:18 ` Eric Schulte
2013-05-22 13:38 ` Jay Kerns [this message]
2013-05-22 14:21   ` Greg Slodkowicz

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=CAFiLVraKQkD7+V--a1cZXTcgXPqKete507qGUnT2WGRmEHF6mg@mail.gmail.com \
    --to=gjkernsysu@gmail.com \
    --cc=emacs-orgmode@gnu.org \
    --cc=gregs@ebi.ac.uk \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).