From: Greg Slodkowicz <gregs@ebi.ac.uk>
To: Jay Kerns <gjkernsysu@gmail.com>
Cc: Greg Slodkowicz <gregs@ebi.ac.uk>, emacs-orgmode@gnu.org
Subject: Re: R plots always exported to Rplots.pdf
Date: Wed, 22 May 2013 15:21:32 +0100 [thread overview]
Message-ID: <CAGY-8BLoUgz1tjOh+uwwJRPTdt7av9O5BLvKxr8tx24sJjccZw@mail.gmail.com> (raw)
In-Reply-To: <CAFiLVraKQkD7+V--a1cZXTcgXPqKete507qGUnT2WGRmEHF6mg@mail.gmail.com>
[-- Attachment #1: Type: text/plain, Size: 653 bytes --]
That solves it, many thanks!
- Greg
On Wed, May 22, 2013 at 2:38 PM, Jay Kerns <gjkernsysu@gmail.com> wrote:
> 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
>
--
Greg Slodkowicz
PhD student, Nick Goldman group
EMBL-EBI
[-- Attachment #2: Type: text/html, Size: 1288 bytes --]
prev parent reply other threads:[~2013-05-22 14:21 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
2013-05-22 14:21 ` Greg Slodkowicz [this message]
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=CAGY-8BLoUgz1tjOh+uwwJRPTdt7av9O5BLvKxr8tx24sJjccZw@mail.gmail.com \
--to=gregs@ebi.ac.uk \
--cc=emacs-orgmode@gnu.org \
--cc=gjkernsysu@gmail.com \
/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).