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: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] > project.org] On Behalf Of Peter Dalgaard > Sent: February-05-08 5:45 PM > To: Agrarimmobilien > Cc: R-help@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 > ~~~~~~~~~~ - ([EMAIL PROTECTED]) FAX: (+45) > 35327907 > > ______________________________________________ > 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. ______________________________________________ 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.