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
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 qplot(). The latter won't work. You need print(qplot(...)) HTH, Thierry -

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