emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Greg Slodkowicz <gregs@ebi.ac.uk>
To: emacs-orgmode@gnu.org
Subject: R plots always exported to Rplots.pdf
Date: Wed, 22 May 2013 13:23:51 +0100	[thread overview]
Message-ID: <CAGY-8BJfgaDsAg9tgCehn+TRENXWcB0W7H1mFsJjE0eEJ1XOww@mail.gmail.com> (raw)

[-- Attachment #1: Type: text/plain, Size: 633 bytes --]

Hi,
I'm trying to generate a report with R plots using org-mode but no matter
what header arguments are you the generated files are always called
Rplots.pdf

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

after evaluating the code block I get

#+RESULTS: pvals_waw
[[file:fig1.png]]

but I can see that the plot is in Rplots.pdf so subsequent attempt to
export Latex/PDF fail.  I'm using org 20130522 and R 3.0.

Best,
Greg


-- 
Greg Slodkowicz
PhD student, Nick Goldman group
EMBL-EBI

[-- Attachment #2: Type: text/html, Size: 976 bytes --]

             reply	other threads:[~2013-05-22 12:23 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-05-22 12:23 Greg Slodkowicz [this message]
2013-05-22 13:18 ` R plots always exported to Rplots.pdf Eric Schulte
2013-05-22 13:38 ` Jay Kerns
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=CAGY-8BJfgaDsAg9tgCehn+TRENXWcB0W7H1mFsJjE0eEJ1XOww@mail.gmail.com \
    --to=gregs@ebi.ac.uk \
    --cc=emacs-orgmode@gnu.org \
    /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).