Are you sure that you have all your packages updated? Because qplot(mpg, wt, data=mtcars) works without a problem on my machine. Please add the info of sessionInfo() when reporting bugs. The posting guide asked you to do so.
Thierry >sessionInfo() R version 2.8.0 (2008-10-20) i386-pc-mingw32 locale: LC_COLLATE=Dutch_Belgium.1252;LC_CTYPE=Dutch_Belgium.1252;LC_MONETARY=Dutch_Belgium.1252;LC_NUMERIC=C;LC_TIME=Dutch_Belgium.1252 attached base packages: [1] grid stats graphics grDevices datasets tcltk utils methods base other attached packages: [1] ggplot2_0.8.1 reshape_0.8.2 plyr_0.1.4 proto_0.3-8 svSocket_0.9-5 svIO_0.9-5 R2HTML_1.59 svMisc_0.9-5 svIDE_0.9-5 loaded via a namespace (and not attached): [1] tools_2.8.0 ---------------------------------------------------------------------------- ir. Thierry Onkelinx Instituut voor natuur- en bosonderzoek / Research Institute for Nature and Forest Cel biometrie, methodologie en kwaliteitszorg / Section biometrics, methodology and quality assurance Gaverstraat 4 9500 Geraardsbergen Belgium tel. + 32 54/436 185 thierry.onkel...@inbo.be www.inbo.be To call in the statistician after the experiment is done may be no more than asking him to perform a post-mortem examination: he may be able to say what the experiment died of. ~ Sir Ronald Aylmer Fisher The plural of anecdote is not data. ~ Roger Brinner The combination of some data and an aching desire for an answer does not ensure that a reasonable answer can be extracted from a given body of data. ~ John Tukey -----Oorspronkelijk bericht----- Van: r-help-boun...@r-project.org [mailto:r-help-boun...@r-project.org] Namens ts8 Verzonden: woensdag 17 december 2008 18:32 Aan: r-help@r-project.org Onderwerp: Re: [R] Problem with ggplot2 I'm also getting this error with ggplot2_0.8.1 on winXP with R 2.8.0 and R 2.7.1. hadley wrote: > > Hi David, > > I inadvertently introduced a bug in ggplot in the last release. I > uploaded a fix to CRAN this morning and it should be available in the > near future. Sorry for the inconvenience. > > Regards, > > Hadley > > On Thu, Nov 20, 2008 at 2:49 PM, David Hajage <dhajag...@gmail.com> wrote: >> Hello R users, >> >> I have an error with package ggplot2 under linux (ubuntu 8.10), R 2.8.0 >> and >> ggplot2 0.7, everything up to date : >> >>> library(ggplot2) >> Le chargement a nécessité le package : grid >> Le chargement a nécessité le package : reshape >> Le chargement a nécessité le package : plyr >> Le chargement a nécessité le package : proto >> Le chargement a nécessité le package : RColorBrewer >> Le chargement a nécessité le package : splines >> Le chargement a nécessité le package : MASS >> >> Attachement du package : 'ggplot2' >> >> >> The following object(s) are masked from package:grid : >> >> nullGrob >> >>> qplot(mpg, wt, data=mtcars) >> Erreur dans gList(...) : Only 'grobs' allowed in 'gList' >> >> I don't understand : this code is working on my work computer (windows >> 2000). >> >> I forgot something ? >> >> Thank you very much. >> >> david >> >> [[alternative HTML version deleted]] >> >> >> ______________________________________________ >> R-help@r-project.org mailing list >> https://stat.ethz.ch/mailman/listinfo/r-help >> PLEASE do read the posting guide >> http://www.R-project.org/posting-guide.html >> and provide commented, minimal, self-contained, reproducible code. >> >> > > > > -- > http://had.co.nz/ > > ______________________________________________ > R-help@r-project.org mailing list > https://stat.ethz.ch/mailman/listinfo/r-help > PLEASE do read the posting guide > http://www.R-project.org/posting-guide.html > and provide commented, minimal, self-contained, reproducible code. > > -- View this message in context: http://www.nabble.com/Problem-with-ggplot2-tp20613210p21057683.html Sent from the R help mailing list archive at Nabble.com. ______________________________________________ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code. Dit bericht en eventuele bijlagen geven enkel de visie van de schrijver weer en binden het INBO onder geen enkel beding, zolang dit bericht niet bevestigd is door een geldig ondertekend document. The views expressed in this message and any annex are purely those of the writer and may not be regarded as stating an official position of INBO, as long as the message is not confirmed by a duly signed document. ______________________________________________ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code.