Re: [R] Sweave and ggplot2

2008-08-04 Thread Sorn . Norng
AIL PROTECTED]> 04/08/2008 06:02 PM To <[EMAIL PROTECTED]>, cc Subject RE: [R] Sweave and ggplot2 Dear Sorn, It's hard to guess what your problem is, as you don't provide any sample code. My guess is that the graphics are empty. Did you use print(qplot(...)) or just qpl

Re: [R] Sweave and ggplot2

2008-08-04 Thread ONKELINX, Thierry
s 2008 6:55 Aan: r-help@r-project.org Onderwerp: [R] Sweave and ggplot2 Hi all, I've been trying to run Sweave with R code embedded - using the ggplot2 package and in particular the qplot command. There appears to be a problem in Sweave not picking up that qplot is a function. Has anybod

[R] Sweave and ggplot2

2008-08-03 Thread Sorn . Norng
Hi all, I've been trying to run Sweave with R code embedded - using the ggplot2 package and in particular the qplot command. There appears to be a problem in Sweave not picking up that qplot is a function. Has anybody else tried to use qplot in Sweave and have you been successful? Any help woul

Re: [R] Sweave and ggplot2

2007-09-25 Thread Julien Barnier
Hi Ken, > This might be a case of FAQ 7.22 since ggplot(2) like lattice depend on grid. > I would try wrapping the ggplot commands in a print statement. Yes, you're right. Replacing : <>= ggplot(d,aes(y=t,x=u)) + geom_point(colour=alpha('black', 0.05)) @ with : <>= print(ggplot(d,aes(y=t,x=u))

Re: [R] Sweave and ggplot2

2007-09-25 Thread Ken Knoblauch
Julien Barnier no-log.org> writes: > > Hi, > When I try this example at work, I got an error message during Sweave > which is close from something like "warning : semitransparency not > supported by this device". When I try at home (with the given > sessionInfo), I got no warning but in both the

Re: [R] Sweave and ggplot2

2007-09-24 Thread Julien Barnier
Hi, First, thanks for your help and sorry for not following the posting guide by not giving more detailed informations and an easily reproducible example... > i) Despite its annoncment in fortune("mind_read"), the mind_read() > function is apparently not to be released in R 2.6.0, so that if > yo

Re: [R] Sweave and ggplot2

2007-09-24 Thread Jean lobry
Dear Julien, > Hi, > > I am trying to use ggplot2 graphics with Sweave, but I got problems > with transparency support when generating pdf figures, even if I > specify a ?pdf.version? argument in Sweave options. > [...snip...] I wanted to help because I'm interested by the exploitation of the

[R] Sweave and ggplot2

2007-09-24 Thread Julien Barnier
Hi, I am trying to use ggplot2 graphics with Sweave, but I got problems with transparency support when generating pdf figures, even if I specify a «pdf.version» argument in Sweave options. More precisely, forcing the pdf version by creating the file manually works : <>= pdf(version="1.4",file="