From mboxrd@z Thu Jan 1 00:00:00 1970 From: Greg Slodkowicz Subject: R plots always exported to Rplots.pdf Date: Wed, 22 May 2013 13:23:51 +0100 Message-ID: Mime-Version: 1.0 Content-Type: multipart/alternative; boundary=001a11c267e47db45204dd4da3ab Return-path: Received: from eggs.gnu.org ([208.118.235.92]:33222) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Uf85F-0003sh-0F for emacs-orgmode@gnu.org; Wed, 22 May 2013 08:23:59 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Uf85B-0005NS-VZ for emacs-orgmode@gnu.org; Wed, 22 May 2013 08:23:56 -0400 Received: from mx1.ebi.ac.uk ([193.62.197.214]:50761) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Uf85B-0005Ke-PX for emacs-orgmode@gnu.org; Wed, 22 May 2013 08:23:53 -0400 Received: from mx1.ebi.ac.uk (localhost.localdomain [127.0.0.1]) by localhost (Email Security Appliance) with SMTP id B373E13F954B_19CB8D8B for ; Wed, 22 May 2013 12:23:52 +0000 (GMT) Received: from mail-la0-f46.google.com (mail-la0-f46.google.com [209.85.215.46]) (using TLSv1 with cipher RC4-SHA (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority" (verified OK)) by mx1.ebi.ac.uk (Sophos Email Appliance) with ESMTPSA id 86F6D13F9507_19CB8D8F for ; Wed, 22 May 2013 12:23:52 +0000 (GMT) Received: by mail-la0-f46.google.com with SMTP id er20so1884857lab.19 for ; Wed, 22 May 2013 05:23:52 -0700 (PDT) List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: emacs-orgmode@gnu.org --001a11c267e47db45204dd4da3ab Content-Type: text/plain; charset=UTF-8 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 --001a11c267e47db45204dd4da3ab Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
Hi,
I'm trying to generate a report wit= h R plots using org-mode but no matter what header arguments are you the ge= nerated files are always called Rplots.pdf=C2=A0

T= his is what my code block looks like:

#+NAME: pvals_waw
#+BEGIN_SRC R :file fig1.pn= g :exports results
pvals =3D read.table("waw_data.txt",= header=3DT)
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 t= o export Latex/PDF fail. =C2=A0I'm using org 20130522 and R 3.0.

Best,
Greg


--
Greg Slodkowicz
PhD student, Nick Goldm= an group
EMBL-EBI
--001a11c267e47db45204dd4da3ab--