Re: [R] R-Commander - pie charts menu blinded out

From: John Fox <jfox_at_mcmaster.ca>
Date: Tue, 5 Feb 2008 20:18:25 -0500

Dear Peter and Iksmax,

To elaborate slightly, the Rcmdr tries to figure out which menu items are appropriate in a given context, and as Peter says, requires that you have at least one factor in the active dataset before activating the pie chart menu item; only factors will be included in the pie-chart dialog variable list. I suppose that this approach sometimes makes it more difficult than necessary to do some things that people legitimately want to do, but the idea is to protect students in introductory statistics courses -- the target audience for the Rcmdr -- from doing foolish things. (If I were really "holier than the prophet" I would have omitted pie charts entirely!)

Regards,
 John



John Fox, Professor
Department of Sociology
McMaster University
Hamilton, Ontario, Canada L8S 4M4
905-525-9140x23604
http://socserv.mcmaster.ca/jfox

> -----Original Message-----
> From: r-help-bounces_at_r-project.org [mailto:r-help-bounces_at_r-
> project.org] On Behalf Of Peter Dalgaard
> Sent: February-05-08 5:45 PM
> To: Agrarimmobilien
> Cc: R-help_at_r-project.org
> Subject: Re: [R] R-Commander - pie charts menu blinded out
>
> Agrarimmobilien wrote:
> > Hello,
> >
> > I hope somebody can help me. I'm using the R-comander with
> library(Rmcdr).
> >
> > Using the menu, I added an new data-matrix . After I wanted to draw a
> pie
> > chart, but the problem is, that the pie chart menu is blinded out.
> >
> > In the concerning variable column, there are no NA -Value (is.na) .
> >
> > Anybody has a solution?
> >
> >
> Rcmdr is a bit "holier than the prophet" when it comes to insisting
> that
> categorical variables are coded as factors, so my immediate guess is
> that the variable that you're charting is actually numeric. What you
> need to do is to use the menu Data/Manage variables.../Convert
> numeric...
>
> --
> O__ ---- Peter Dalgaard ุster Farimagsgade 5, Entr.B
> c/ /'_ --- Dept. of Biostatistics PO Box 2099, 1014 Cph. K
> (*) \(*) -- University of Copenhagen Denmark Ph: (+45)
> 35327918
> ~~~~~~~~~~ - (p.dalgaard_at_biostat.ku.dk) FAX: (+45)
> 35327907
>
> ______________________________________________
> R-help_at_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.



R-help_at_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. Received on Wed 06 Feb 2008 - 01:32:10 GMT

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.2.0, at Wed 06 Feb 2008 - 15:30:12 GMT.

Mailing list information is available at https://stat.ethz.ch/mailman/listinfo/r-help. Please read the posting guide before posting to the list.

list of date sections of archive