[R] Problem with Sweave and pdf version 1.4

2007-07-09 Thread ONKELINX, Thierry
Dear useRs, I'm trying to use ggplot2 in Sweave (R 2.5.1). The plots use the alpha channel, so I need to use pdf version 1.4. Search the mailinglist archive I found two solutions: \SweaveOpts{echo = FALSE, pdf.version=1.4} and explicit writing to a pdf 1.4 file. The latter works but the first does

Re: [R] Problem with Sweave

2007-05-15 Thread Thomas Adams
Duncan, Thank you for your help — that certainly did the trick. With Sweave being new to me, I somehow missed the obvious… Regards, Tom Duncan Murdoch wrote: > On 15/05/2007 9:22 PM, Thomas Adams wrote: >> I am using R 2.5 on a Linux Redhat platform. I can successfully run >> some example *.Rn

Re: [R] Problem with Sweave

2007-05-15 Thread Duncan Murdoch
On 15/05/2007 9:22 PM, Thomas Adams wrote: > I am using R 2.5 on a Linux Redhat platform. I can successfully run some > example *.Rnw files through Sweave and generate pdf files. When I try my > own example file, "test.Rnw": > > \documentclass[a4paper]{article} > \title{Test Sweave Example} > \a

[R] Problem with Sweave

2007-05-15 Thread Thomas Adams
I am using R 2.5 on a Linux Redhat platform. I can successfully run some example *.Rnw files through Sweave and generate pdf files. When I try my own example file, "test.Rnw": \documentclass[a4paper]{article} \title{Test Sweave Example} \author{Thomas Adams} \begin{document} \maketitle In this e

[R] Problem with Sweave

2006-06-05 Thread David Hajage
I was trying to use Sweave function. Do you know why the following code in my .Rnw file: <>= print(xtable(stat.table(list("Couverture du livret" = couv), list(n = count(), "\\%" = percent(couv, floating = F) @ \\ NA = \Sexpr{table(is.na(couv))[2]} gives me this result in my .tex file : %