Re: [R] Sweave and ggplot2

2008-08-04 Thread Sorn . Norng
Dear Thierry, Your guess was correct. I was not aware that I needed print( ). It was not needed with plot( ). I have yet to try xyplot( ) but I suspect that the print( ) might be needed here as well. Thank you very much for your help. Cheers, Sorn "ONKELINX, Thierry" <[EMAIL PROTECTED]> 0

[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