thanks so much! grapphics.off() works! 2010/12/16 Michael Bibo-2 [via R] < ml-node+3090212-673909616-205...@n4.nabble.com<ml-node%2b3090212-673909616-205...@n4.nabble.com> >
> kiotoqq <kiotoqq <at> googlemail.com> writes: > > > > > > > I'm pretty sure that I did everything right, but my R is just not drawing > the > > mosaicplot that I want, and there is also no error messege, looks like > this > > right now: > > > mosaicplot(arthritis) > > > mosaicplot(~ sex + treatment + improved, data = arthritis, color = > TRUE) > > > > > > Arthritis is a dataset contained in vcd package. Have you installed *and* > loaded the package? > > Test with: > data (Arthritis) > But if this is the problem, there should be an error message like: "Error > in > mosaicplot(arthritis) : object 'arthritis' not found" > > Do you have another graphics device open? > Try: > graphics.off() > to close all currently open devices, and then re-run mosaicplot command, > but R > is case-sensitive, hence: > > mosaicplot(Arthritis) > mosaicplot(~ Sex + Treatment + Improved, data = Arthritis, color = TRUE) > > Hope this helps, > > Michael Bibo > Queensland Health > > ______________________________________________ > [hidden email] <http://user/SendEmail.jtp?type=node&node=3090212&i=0>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 message @ > http://r.789695.n4.nabble.com/problems-with-mosaic-plot-tp3090128p3090212.html > To unsubscribe from problems with mosaic plot, click > here<http://r.789695.n4.nabble.com/template/NamlServlet.jtp?macro=unsubscribe_by_code&node=3090128&code=a2lvdG9xcUBnb29nbGVtYWlsLmNvbXwzMDkwMTI4fDMwNzQ2OTMxNw==>. > > -- View this message in context: http://r.789695.n4.nabble.com/problems-with-mosaic-plot-tp3090128p3090410.html Sent from the R help mailing list archive at Nabble.com. [[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.