Re: [R] bug in qplot (library ggplot2)

2011-01-14 Thread ONKELINX, Thierry
- > Van: r-help-boun...@r-project.org > [mailto:r-help-boun...@r-project.org] Namens Pierre-Olivier Chasset > Verzonden: vrijdag 14 januari 2011 12:08 > Aan: r-help@r-project.org > Onderwerp: Re: [R] bug in qplot (library ggplot2) > > The corrected code: >

Re: [R] bug in qplot (library ggplot2)

2011-01-14 Thread Pierre-Olivier Chasset
The corrected code: library(ggplot2) for (i in 1:2) { png(file=paste('test ',i,'.png',sep='')) print(qplot(carat, data=diamonds, fill=color,geom='histogram')+scale_y_continuous(i)) dev.off() } Thanks Le 14/01/2011 02:17, Pierre-Olivier Chasset a écrit : Hello, this following code give

Re: [R] bug in qplot (library ggplot2)

2011-01-14 Thread ONKELINX, Thierry
1 10:31 > Aan: David Winsemius; r-help@r-project.org > Onderwerp: Re: [R] bug in qplot (library ggplot2) > > David, > > I haven't found any FAQs for ggplot. > Do you mean the http://cran.r-project.org/faqs.html? > In this one, no subject seems to be linked with my

Re: [R] bug in qplot (library ggplot2)

2011-01-14 Thread Pierre-Olivier Chasset
David, I haven't found any FAQs for ggplot. Do you mean the http://cran.r-project.org/faqs.html? In this one, no subject seems to be linked with my problem about qplot in a loop. Best regards, Pierre-Olivier Le 14/01/2011 05:43, David Winsemius a écrit : On Jan 13, 2011, at 8:17 PM, Pierre-

Re: [R] bug in qplot (library ggplot2)

2011-01-13 Thread David Winsemius
On Jan 13, 2011, at 8:17 PM, Pierre-Olivier Chasset wrote: Hello, this following code give a nice png: /library(ggplot2) i <- 1 png(file=paste('test ',i,'.png',sep='')) qplot(carat, data=diamonds, fill=color,geom='histogram')+scale_y_continuous(i) dev.off() / I would like to get more files, b

[R] bug in qplot (library ggplot2)

2011-01-13 Thread Pierre-Olivier Chasset
Hello, this following code give a nice png: /library(ggplot2) i <- 1 png(file=paste('test ',i,'.png',sep='')) qplot(carat, data=diamonds, fill=color,geom='histogram')+scale_y_continuous(i) dev.off() / I would like to get more files, but the following code doesn't make any file: /library(ggplot