Re: [Orgmode] [babel] babel creating corrupt pdf and png

2010-08-26 Thread Graham Smith
Eriic, Thanks, > I'd suggest looking at the R session ("bats" in your case) to see what > errors if any are being thrown by R during execution of the boxplot > command. Will do, but sidetracked somewhere else now. Its strange because some are now being produced fine, and other not. They are all

Re: [Orgmode] [babel] babel creating corrupt pdf and png

2010-08-26 Thread Eric Schulte
Hi Graham, These pdf and png images are being created by R, Babel is simply passing commands to the R process setting the output device according to the :file argument, so for example ":file fig1.pdf" would result in wrapping your code in pdf(file="fig1.pdf") <> dev.off I'd suggest looking at th

[Orgmode] [babel] babel creating corrupt pdf and png

2010-08-25 Thread Graham Smith
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.