From mboxrd@z Thu Jan 1 00:00:00 1970 From: Graham Smith Subject: [babel] babel creating corrupt pdf and png Date: Thu, 26 Aug 2010 07:15:12 +0100 Message-ID: Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Return-path: Received: from [140.186.70.92] (port=59377 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OoVk2-0008RW-Mx for emacs-orgmode@gnu.org; Thu, 26 Aug 2010 02:15:15 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1OoVk1-000149-Nj for emacs-orgmode@gnu.org; Thu, 26 Aug 2010 02:15:14 -0400 Received: from mail-vw0-f41.google.com ([209.85.212.41]:36780) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OoVk1-000144-Kg for emacs-orgmode@gnu.org; Thu, 26 Aug 2010 02:15:13 -0400 Received: by vws16 with SMTP id 16so1734951vws.0 for ; Wed, 25 Aug 2010 23:15:12 -0700 (PDT) List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: emacs-orgmode@gnu.org PDFs created by Babel are giving a file corrupt message when trying to open them and a format not recognised message if I try pngs, Same files created directly from R are fine. This is with Ubuntu 10.04 and Org-mode version 6.36trans (release_7.01h.94.g25ac Example of code I am using is below. Can anyone suggest what I am doing wrong? Many thanks, Graham #+srcname:boxpip45byyear #+begin_src R :session bats :file boxpip45byyear.pdf :exports code boxplot(boxplot(allbats$count[allbats$species=="p45"]~allbats$year[allbats$species=="p45"]) #+end_src #+results: boxpip45byyear [[file:boxpip45byyear.pdf]]