emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Graham Smith <myotisone@gmail.com>
To: emacs-orgmode@gnu.org
Subject: [babel] babel creating corrupt pdf and png
Date: Thu, 26 Aug 2010 07:15:12 +0100	[thread overview]
Message-ID: <AANLkTi=28NJC76fbmsrQDGWPuJhKgVak3+O4NY2=q2MV@mail.gmail.com> (raw)

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]]

             reply	other threads:[~2010-08-26  6:15 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-08-26  6:15 Graham Smith [this message]
2010-08-26 12:20 ` [babel] babel creating corrupt pdf and png Eric Schulte
2010-08-26 14:21   ` Graham Smith

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='AANLkTi=28NJC76fbmsrQDGWPuJhKgVak3+O4NY2=q2MV@mail.gmail.com' \
    --to=myotisone@gmail.com \
    --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).