Re: [R] R commander (Rcmdr) won't start [SOLVED]
Dear Gabriele, > On Dec 8, 2019, at 3:35 AM, gabriele pallotti wrote: > > Dear John, > thank you for your prompt reply. An inexperienced user like me tends to see > the .Rdata folder like the document folder for other programs, and, as one > doesn't have to delete the document folder when updating Libreoffice, tends > to think the same for R. The potential problem with .RData is that it's not just a file that saves the contents of the R workspace at the end of a session, but that the saved workspace is then loaded at the start of a subsequent session. This can create problems (again, not just for the Rcmdr) in that subsequent session, and not only when R is updated. > But let me take the opportunity to express a huge thank you for your work on > Rcmdr. For people like me, who do statistical analyses just a few times a > year, it is a very precious resource, which can also serve as an introduction > to command-line R. As an applied linguist with a background in semiotics, I > would have plenty of reasons to explain why a graphic interface is such a > good thing. As a taxpayer, I appreciate the fact that it makes us saves money > as it allows students and researchers in the humanities, like me, to do some > basic statistics without buying SPSS licences. > I don't want to open a debate here on the pros and cons of graphical > interfaces. Let me just say you're doing an excellent service to the > community, both with your package and your replies to this forum, which shows > you're a really kind person and deserve all our appreciation. Thank you for your very kind remarks. Best, John > Best wishes > Gabriele Pallotti (Italy) > > > > > Il giorno ven 6 dic 2019 alle ore 22:58 Fox, John ha > scritto: > Dear Gabriele, > > I'm glad that you were able to solve your problem. I spent a bit of time > today updating my R from 3.6.0 to 3.6.1 and updating all R packages on > Ubuntu, and, for what is now an obvious reason, I was unable to duplicate the > problem. > > Saving the .Rhistory file is benign but saving the R workspace at the end of > a session in .RData can be problematic, and not just for the Rcmdr. You'll > notice that while R makes saving the workspace the default (presumably to > avoid inadvertent data loss, and in my opinion not a good default choice), > the Rcmdr doesn't offer to save the R workspace when you select "File > Exit > > From Commander and R" from the Rcmdr menus. > > Best, > John > > - > John Fox, Professor Emeritus > McMaster University > Hamilton, Ontario, Canada > Web: http::/socserv.mcmaster.ca/jfox > > > On Dec 6, 2019, at 1:38 PM, gabriele pallotti > > wrote: > > > > I managed to get Rcmdr working simply by deleting the .Rdata and .Rhistory > > file from the work directory. It is rather weird, as I thought they only > > contained data and settings, but probably some of these belonged to the > > older version of R/Rcmdr and were not compatible with the new version. > > I'll keep the old data files in a separate folder and try to open them as a > > workspace after launching Rcmdr, but I won't do it now as I need Rcmdr to > > work in the next days and I don't want to take any risks... > > > > [[alternative HTML version deleted]] > > > > __ > > R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see > > 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 -- To UNSUBSCRIBE and more, see 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.
Re: [R] R commander (Rcmdr) won't start [SOLVED]
Dear John, thank you for your prompt reply. An inexperienced user like me tends to see the .Rdata folder like the document folder for other programs, and, as one doesn't have to delete the document folder when updating Libreoffice, tends to think the same for R. But let me take the opportunity to express a huge thank you for your work on Rcmdr. For people like me, who do statistical analyses just a few times a year, it is a very precious resource, which can also serve as an introduction to command-line R. As an applied linguist with a background in semiotics, I would have plenty of reasons to explain why a graphic interface is such a good thing. As a taxpayer, I appreciate the fact that it makes us saves money as it allows students and researchers in the humanities, like me, to do some basic statistics without buying SPSS licences. I don't want to open a debate here on the pros and cons of graphical interfaces. Let me just say you're doing an excellent service to the community, both with your package and your replies to this forum, which shows you're a really kind person and deserve all our appreciation. Best wishes Gabriele Pallotti (Italy) Il giorno ven 6 dic 2019 alle ore 22:58 Fox, John ha scritto: > Dear Gabriele, > > I'm glad that you were able to solve your problem. I spent a bit of time > today updating my R from 3.6.0 to 3.6.1 and updating all R packages on > Ubuntu, and, for what is now an obvious reason, I was unable to duplicate > the problem. > > Saving the .Rhistory file is benign but saving the R workspace at the end > of a session in .RData can be problematic, and not just for the Rcmdr. > You'll notice that while R makes saving the workspace the default > (presumably to avoid inadvertent data loss, and in my opinion not a good > default choice), the Rcmdr doesn't offer to save the R workspace when you > select "File > Exit > From Commander and R" from the Rcmdr menus. > > Best, > John > > - > John Fox, Professor Emeritus > McMaster University > Hamilton, Ontario, Canada > Web: http::/socserv.mcmaster.ca/jfox > > > On Dec 6, 2019, at 1:38 PM, gabriele pallotti > wrote: > > > > I managed to get Rcmdr working simply by deleting the .Rdata and > .Rhistory > > file from the work directory. It is rather weird, as I thought they only > > contained data and settings, but probably some of these belonged to the > > older version of R/Rcmdr and were not compatible with the new version. > > I'll keep the old data files in a separate folder and try to open them > as a > > workspace after launching Rcmdr, but I won't do it now as I need Rcmdr to > > work in the next days and I don't want to take any risks... > > > > [[alternative HTML version deleted]] > > > > __ > > R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see > > 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. > > [[alternative HTML version deleted]] __ R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see 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.
Re: [R] R commander (Rcmdr) won't start [SOLVED]
Dear Gabriele, I'm glad that you were able to solve your problem. I spent a bit of time today updating my R from 3.6.0 to 3.6.1 and updating all R packages on Ubuntu, and, for what is now an obvious reason, I was unable to duplicate the problem. Saving the .Rhistory file is benign but saving the R workspace at the end of a session in .RData can be problematic, and not just for the Rcmdr. You'll notice that while R makes saving the workspace the default (presumably to avoid inadvertent data loss, and in my opinion not a good default choice), the Rcmdr doesn't offer to save the R workspace when you select "File > Exit > From Commander and R" from the Rcmdr menus. Best, John - John Fox, Professor Emeritus McMaster University Hamilton, Ontario, Canada Web: http::/socserv.mcmaster.ca/jfox > On Dec 6, 2019, at 1:38 PM, gabriele pallotti wrote: > > I managed to get Rcmdr working simply by deleting the .Rdata and .Rhistory > file from the work directory. It is rather weird, as I thought they only > contained data and settings, but probably some of these belonged to the > older version of R/Rcmdr and were not compatible with the new version. > I'll keep the old data files in a separate folder and try to open them as a > workspace after launching Rcmdr, but I won't do it now as I need Rcmdr to > work in the next days and I don't want to take any risks... > > [[alternative HTML version deleted]] > > __ > R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see > 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 -- To UNSUBSCRIBE and more, see 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.
Re: [R] R commander (Rcmdr) won't start [SOLVED]
Experienced R users avoid creating .Rdata files (with nothing in front of the period) because R will automatically load them and any mistakes recorded there can interfere with future uses of R when started from the directory containing that file. RData files with something in front of the period can be loaded interactively and any problems they bring can be avoided by simply not choosing to load them. .Rhistory files have no such negative effect... it is highly unlikely that that file was causing you any problems. They are just a record of R commands that have been used and are only retrieved by R user interfaces such as Rgui or RStudio upon request. On December 6, 2019 10:38:45 AM PST, gabriele pallotti wrote: >I managed to get Rcmdr working simply by deleting the .Rdata and >.Rhistory >file from the work directory. It is rather weird, as I thought they >only >contained data and settings, but probably some of these belonged to the >older version of R/Rcmdr and were not compatible with the new version. >I'll keep the old data files in a separate folder and try to open them >as a >workspace after launching Rcmdr, but I won't do it now as I need Rcmdr >to >work in the next days and I don't want to take any risks... > > [[alternative HTML version deleted]] > >__ >R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see >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. -- Sent from my phone. Please excuse my brevity. __ R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see 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] R commander (Rcmdr) won't start [SOLVED]
I managed to get Rcmdr working simply by deleting the .Rdata and .Rhistory file from the work directory. It is rather weird, as I thought they only contained data and settings, but probably some of these belonged to the older version of R/Rcmdr and were not compatible with the new version. I'll keep the old data files in a separate folder and try to open them as a workspace after launching Rcmdr, but I won't do it now as I need Rcmdr to work in the next days and I don't want to take any risks... [[alternative HTML version deleted]] __ R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see 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] R commander (Rcmdr) won't start
Hallo I've been using R and R commander (Rcmdr) for some years, never had problems. I'm on Xubuntu 16.04. Yesterday I updated R from 3.4.4 to 3.6.1 and all sorts of problems occurred. Firstly I completely removed R from my system, including old directories (with some hiccups, I must admit). Then I installed R and R-dev without issues. Had some issues installing Rcmdr, but in the end I met all the requirements and installed all the requested packages, including rgl and a few others that were requested upon first launching Rcmdr. After that, no more error messages. However, whenever I launch R commander I get these lines, which don't mention any problem, but the GUI won't launch. > library(Rcmdr) Carico il pacchetto richiesto: splines Carico il pacchetto richiesto: RcmdrMisc Carico il pacchetto richiesto: car Carico il pacchetto richiesto: carData Carico il pacchetto richiesto: sandwich Carico il pacchetto richiesto: effects Registered S3 methods overwritten by 'lme4': method from cooks.distance.influence.merMod car influence.merModcar dfbeta.influence.merMod car dfbetas.influence.merModcar lattice theme set by effectsTheme() See ?effectsTheme for details. After seeing, if I type library(Rcmdr) again, nothing happens. I installed Hmisc, leaps and aplpack, as these were indicated as possible solutions, but to no avail. This is the output of sys.info and sessionInfo > Sys.info() sysname "Linux" release "4.4.0-170-generic" version "#199-Ubuntu SMP Thu Nov 14 01:45:04 UTC 2019" nodename "me-HP430" machine "x86_64" login "me" user "me" effective_user "me" > sessionInfo() R version 3.6.1 (2019-07-05) Platform: x86_64-pc-linux-gnu (64-bit) Running under: Ubuntu 16.04.6 LTS Matrix products: default BLAS: /usr/lib/libblas/libblas.so.3.6.0 LAPACK: /usr/lib/lapack/liblapack.so.3.6.0 Random number generation: RNG: Mersenne-Twister Normal: Inversion Sample: Rounding locale: [1] LC_CTYPE=it_IT.UTF-8 LC_NUMERIC=C [3] LC_TIME=it_IT.UTF-8LC_COLLATE=it_IT.UTF-8 [5] LC_MONETARY=it_IT.UTF-8LC_MESSAGES=it_IT.UTF-8 [7] LC_PAPER=it_IT.UTF-8 LC_NAME=C [9] LC_ADDRESS=C LC_TELEPHONE=C [11] LC_MEASUREMENT=it_IT.UTF-8 LC_IDENTIFICATION=C attached base packages: [1] splines stats graphics grDevices utils datasets methods [8] base other attached packages: [1] effects_4.1-4 RcmdrMisc_2.5-1 sandwich_2.5-1 car_3.0-5 [5] carData_3.0-3 loaded via a namespace (and not attached): [1] Rcpp_1.0.3 lattice_0.20-38 tcltk2_1.2-11 [4] class_7.3-15zoo_1.8-6 relimp_1.0-5 [7] zeallot_0.1.0 digest_0.6.23 R6_2.4.1 [10] cellranger_1.1.0backports_1.1.5 acepack_1.4.1 [13] survey_3.36 e1071_1.7-3 ggplot2_3.2.1 [16] pillar_1.4.2rlang_0.4.2 lazyeval_0.2.2 [19] curl_4.3readxl_1.3.1minqa_1.2.4 [22] rstudioapi_0.10 data.table_1.12.6 nloptr_1.2.1 [25] rpart_4.1-15Matrix_1.2-18 checkmate_1.9.4 [28] lme4_1.1-21 stringr_1.4.0 foreign_0.8-72 [31] htmlwidgets_1.5.1 munsell_0.5.0 compiler_3.6.1 [34] xfun_0.11 pkgconfig_2.0.3 base64enc_0.1-3 [37] mitools_2.4 htmltools_0.4.0 tcltk_3.6.1 [40] nnet_7.3-12 tibble_2.1.3gridExtra_2.3 [43] htmlTable_1.13.3Hmisc_4.3-0 rio_0.5.16 [46] Rcmdr_2.6-1 crayon_1.3.4MASS_7.3-51.4 [49] grid_3.6.1 DBI_1.0.0 nlme_3.1-142 [52] gtable_0.3.0lifecycle_0.1.0 magrittr_1.5 [55] scales_1.1.0zip_2.0.4 stringi_1.4.3 [58] latticeExtra_0.6-28 vctrs_0.2.0 boot_1.3-23 [61] openxlsx_4.1.3 nortest_1.0-4 Formula_1.2-3 [64] RColorBrewer_1.1-2 tools_3.6.1 forcats_0.4.0 [67] hms_0.5.2 abind_1.4-5 survival_3.1-8 [70] colorspace_1.4-1cluster_2.1.0 knitr_1.26 [73] haven_2.2.0 This is the list of installed packages: PackageVersion aplpack 1.3.3 Hmisc 4.3-0 leaps3.0 Rcmdr 2.6-1 abind 1.4-5 acepack 1.4.1 aplpack 1.3.3 arm 1.10-1 assertthat 0.2.1 backports 1.1.5 base64enc 0.1-3 BH 1.69.0-1 callr 3.3.2 car 3.0-5
Re: [R] R Commander qcc
Welcome to R and the R-help list. If I am not misunderstanding you, you expect use the qcc package from within the Rcmdr GUI. I have never really used RCommander, though I played around with it a few years ago, but I don't believe it can call qcc directly. I 'think' you have the choice of using qcc from a command line interface or possibly installing a plug-in for Rcmder. Have a look at this link http://decisionstats.com/2011/01/27/r-commander-plugins-20-and-growing/ BTW you might also be interested in this link http://blog.yhathq.com/posts/quality-control-in-r.html for other approaches to control charts. While a good Gui like Rcmdr is useful you really will not get the full power of R with a Gui. It can be a bit intimidating to use a command interface if you are not used to one but it is by far the best way. It may not seem it but it is much more efficient in the longer term to go to a command-line interface. There is also the issue of whether there is an integration for the package and your Gui. Luckily, it looks like there is a Rcmdr plugin for qcc but there are probably 100's, or more likely, 1000's of packages with such a plug-in and you cannot capitalize on them other than with a command-line approach. You can use R by typing commands into the R-GUI (assuming you are using Windows) or by typing in the terminal under Linux but this does not work well. Most/all R users do all their writing in a text editor or Integrated Development Environment (IDE). There are some fierce wars over which editor or IDE is best. Here are a couple of links about the issue. Text Editors and IDEs http://r.789695.n4.nabble.com/Best-R-text-editors-td903450.html and http://en.wikipedia.org/wiki/R_%28programming_language%29#Editors_and_IDEs . It's worth shopping around to see what best suits you. I have found Tinn-R very good when working in Windows though, recently, I have moved to Linux and to the IDE, RStudio and the gedit text editor with its R plug-in. A major advantage of Tinn-R and gedit , particularly if you are just getting started, is that they both have extensive code highlighting which makes it easier to find and fix minor syntax errors and typos. RStudio has several advantages, among other things, it shows what data objects you have loaded and makes saving and handling graphs easier . BW one of the obvious things I missed when first using R was that you can just copy and paste code into R if you are working through an example to see what is happening John Kane Kingston ON Canada -Original Message- From: gjkr...@gmail.com Sent: Sat, 16 May 2015 15:39:12 -0700 (PDT) To: r-help@r-project.org Subject: [R] R Commander qcc I am completely new to R and am trying to utilize its capabilities as an alternative to Minitab. I don't have any development ability at all, but the R Commander GUI is able to give me the functionality I need with the exception of control charts. I have installed the qcc package but when I load the package nothing happens (it does not give me any more functionality or selection choices in Rcmdr). I am sure there is something relatively simple that I am missing, but I can't figure it out. Any help would be greatly appreciated! -Greg FREE 3D EARTH SCREENSAVER - Watch the Earth right on your desktop! __ R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see 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] R Commander qcc
I am completely new to R and am trying to utilize its capabilities as an alternative to Minitab. I don't have any development ability at all, but the R Commander GUI is able to give me the functionality I need with the exception of control charts. I have installed the qcc package but when I load the package nothing happens (it does not give me any more functionality or selection choices in Rcmdr). I am sure there is something relatively simple that I am missing, but I can't figure it out. Any help would be greatly appreciated! -Greg -- View this message in context: http://r.789695.n4.nabble.com/R-Commander-qcc-tp4707327.html Sent from the R help mailing list archive at Nabble.com. [[alternative HTML version deleted]] __ R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see 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.
Re: [R] R Commander qcc
Dear John and Greg, As John says, even with the about 40 plugin packages that are on CRAN (the R package archive network), the Rcmdr covers only a small fraction of what's available in base R and the thousands of CRAN packages. As it turns out, however, there's an Rcmdr quality-control plugin that may meet Greg's needs, RcmdrPlugin.qual http://cran.r-project.org/web/packages/RcmdrPlugin.qual/index.html. You might check that out. Install it via the command install.packages(RcmdrPlugin.qual) at the R command prompt, and then either load it via the Rcmdr Tools menu or directly via library(RcmdrPlugin.qual). More generally, the names of most Rcmdr plugins begin with RcmdrPlugin.. If you go to the alphbetical CRAN packages list at http://cran.r-project.org/web/packages/available_packages_by_name.html and search for RcmdrPlugin., you'll see them. Searching for Rcmdr will turn up a few more. I hope this helps, John John Fox, Professor McMaster University Hamilton, Ontario, Canada http://socserv.mcmaster.ca/jfox/ On Sun, 17 May 2015 02:51:30 -0800 John Kane jrkrid...@inbox.com wrote: Welcome to R and the R-help list. If I am not misunderstanding you, you expect use the qcc package from within the Rcmdr GUI. I have never really used RCommander, though I played around with it a few years ago, but I don't believe it can call qcc directly. I 'think' you have the choice of using qcc from a command line interface or possibly installing a plug-in for Rcmder. Have a look at this link http://decisionstats.com/2011/01/27/r-commander-plugins-20-and-growing/ BTW you might also be interested in this link http://blog.yhathq.com/posts/quality-control-in-r.html for other approaches to control charts. While a good Gui like Rcmdr is useful you really will not get the full power of R with a Gui. It can be a bit intimidating to use a command interface if you are not used to one but it is by far the best way. It may not seem it but it is much more efficient in the longer term to go to a command-line interface. There is also the issue of whether there is an integration for the package and your Gui. Luckily, it looks like there is a Rcmdr plugin for qcc but there are probably 100's, or more likely, 1000's of packages with such a plug-in and you cannot capitalize on them other than with a command-line approach. You can use R by typing commands into the R-GUI (assuming you are using Windows) or by typing in the terminal under Linux but this does not work well. Most/all R users do all their writing in a text editor or Integrated Development Environment (IDE). There are some fierce wars over which editor or IDE is best. Here are a couple of links about the issue. Text Editors and IDEs http://r.789695.n4.nabble.com/Best-R-text-editors-td903450.html and http://en.wikipedia.org/wiki/R_%28programming_language%29#Editors_and_IDEs . It's worth shopping around to see what best suits you. I have found Tinn-R very good when working in Windows though, recently, I have moved to Linux and to the IDE, RStudio and the gedit text editor with its R plug-in. A major advantage of Tinn-R and gedit , particularly if you are just getting started, is that they both have extensive code highlighting which makes it easier to find and fix minor syntax errors and typos. RStudio has several advantages, among other things, it shows what data objects you have loaded and makes saving and handling graphs easier . BW one of the obvious things I missed when first using R was that you can just copy and paste code into R if you are working through an example to see what is happening John Kane Kingston ON Canada -Original Message- From: gjkr...@gmail.com Sent: Sat, 16 May 2015 15:39:12 -0700 (PDT) To: r-help@r-project.org Subject: [R] R Commander qcc I am completely new to R and am trying to utilize its capabilities as an alternative to Minitab. I don't have any development ability at all, but the R Commander GUI is able to give me the functionality I need with the exception of control charts. I have installed the qcc package but when I load the package nothing happens (it does not give me any more functionality or selection choices in Rcmdr). I am sure there is something relatively simple that I am missing, but I can't figure it out. Any help would be greatly appreciated! -Greg FREE 3D EARTH SCREENSAVER - Watch the Earth right on your desktop! __ R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see 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
Re: [R] R Commander qcc
Thanks John, I had not realised they were on CRAN. Definately a great help. John Kane Kingston ON Canada -Original Message- From: j...@mcmaster.ca Sent: Sun, 17 May 2015 08:15:14 -0400 To: jrkrid...@inbox.com, gjkr...@gmail.com Subject: Re: [R] R Commander qcc Dear John and Greg, As John says, even with the about 40 plugin packages that are on CRAN (the R package archive network), the Rcmdr covers only a small fraction of what's available in base R and the thousands of CRAN packages. As it turns out, however, there's an Rcmdr quality-control plugin that may meet Greg's needs, RcmdrPlugin.qual http://cran.r-project.org/web/packages/RcmdrPlugin.qual/index.html. You might check that out. Install it via the command install.packages(RcmdrPlugin.qual) at the R command prompt, and then either load it via the Rcmdr Tools menu or directly via library(RcmdrPlugin.qual). More generally, the names of most Rcmdr plugins begin with RcmdrPlugin.. If you go to the alphbetical CRAN packages list at http://cran.r-project.org/web/packages/available_packages_by_name.html and search for RcmdrPlugin., you'll see them. Searching for Rcmdr will turn up a few more. I hope this helps, John John Fox, Professor McMaster University Hamilton, Ontario, Canada http://socserv.mcmaster.ca/jfox/ On Sun, 17 May 2015 02:51:30 -0800 John Kane jrkrid...@inbox.com wrote: Welcome to R and the R-help list. If I am not misunderstanding you, you expect use the qcc package from within the Rcmdr GUI. I have never really used RCommander, though I played around with it a few years ago, but I don't believe it can call qcc directly. I 'think' you have the choice of using qcc from a command line interface or possibly installing a plug-in for Rcmder. Have a look at this link http://decisionstats.com/2011/01/27/r-commander-plugins-20-and-growing/ BTW you might also be interested in this link http://blog.yhathq.com/posts/quality-control-in-r.html for other approaches to control charts. While a good Gui like Rcmdr is useful you really will not get the full power of R with a Gui. It can be a bit intimidating to use a command interface if you are not used to one but it is by far the best way. It may not seem it but it is much more efficient in the longer term to go to a command-line interface. There is also the issue of whether there is an integration for the package and your Gui. Luckily, it looks like there is a Rcmdr plugin for qcc but there are probably 100's, or more likely, 1000's of packages with such a plug-in and you cannot capitalize on them other than with a command-line approach. You can use R by typing commands into the R-GUI (assuming you are using Windows) or by typing in the terminal under Linux but this does not work well. Most/all R users do all their writing in a text editor or Integrated Development Environment (IDE). There are some fierce wars over which editor or IDE is best. Here are a couple of links about the issue. Text Editors and IDEs http://r.789695.n4.nabble.com/Best-R-text-editors-td903450.html and http://en.wikipedia.org/wiki/R_%28programming_language%29#Editors_and_IDEs . It's worth shopping around to see what best suits you. I have found Tinn-R very good when working in Windows though, recently, I have moved to Linux and to the IDE, RStudio and the gedit text editor with its R plug-in. A major advantage of Tinn-R and gedit , particularly if you are just getting started, is that they both have extensive code highlighting which makes it easier to find and fix minor syntax errors and typos. RStudio has several advantages, among other things, it shows what data objects you have loaded and makes saving and handling graphs easier . BW one of the obvious things I missed when first using R was that you can just copy and paste code into R if you are working through an example to see what is happening John Kane Kingston ON Canada -Original Message- From: gjkr...@gmail.com Sent: Sat, 16 May 2015 15:39:12 -0700 (PDT) To: r-help@r-project.org Subject: [R] R Commander qcc I am completely new to R and am trying to utilize its capabilities as an alternative to Minitab. I don't have any development ability at all, but the R Commander GUI is able to give me the functionality I need with the exception of control charts. I have installed the qcc package but when I load the package nothing happens (it does not give me any more functionality or selection choices in Rcmdr). I am sure there is something relatively simple that I am missing, but I can't figure it out. Any help would be greatly appreciated! -Greg FREE 3D EARTH SCREENSAVER - Watch the Earth right on your desktop! __ R-help@r-project.org mailing list
[R] R Commander and FactoMineR
Dear Users, I helped to install R Commander and FactoMineR to one of my collegaues. He wanted to do an MCA. Selecting three variables and using the default settings results in only one graph, the variables representation, where he gets three points for the three variables (which is totally fine). Running the code (output of the point-and-click method) EuTop100.MCA-EuTop100[, c(ország, szektor, székhely)] res-MCA(EuTop100.MCA, ncp=5, graph = FALSE) plot.MCA(res, axes=c(1, 2), col.ind=black, col.ind.sup=blue, col.var=darkred, col.quali.sup=darkgreen, label=c(ind, ind.sup, quali.sup, var, quanti.sup), invisible=c(, new.plot=TRUE)) plot.MCA(res, axes=c(1, 2), choix=var, col.var=darkred, col.quali.sup=darkgreen, label=c(var, quali.sup), invisible=c(, new.plot=TRUE)) plot.MCA(res, axes=c(1, 2), choix=quanti.sup, col.quanti.sup=blue, label=c(quanti.sup, new.plot=TRUE)) remove(EuTop100.MCA) however should result in three graphs. What went wrong? MCA(EuTop100.MCA) just works fine. Thank you and best wishes: Daniel [[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.
Re: [R] R Commander and FactoMineR
Hello, Did you check the position of the brackets, for example for invisible argument? Regards, Pascal On 04/02/2013 06:09 PM, Dániel Kehl wrote: Dear Users, I helped to install R Commander and FactoMineR to one of my collegaues. He wanted to do an MCA. Selecting three variables and using the default settings results in only one graph, the variables representation, where he gets three points for the three variables (which is totally fine). Running the code (output of the point-and-click method) EuTop100.MCA-EuTop100[, c(ország, szektor, székhely)] res-MCA(EuTop100.MCA, ncp=5, graph = FALSE) plot.MCA(res, axes=c(1, 2), col.ind=black, col.ind.sup=blue, col.var=darkred, col.quali.sup=darkgreen, label=c(ind, ind.sup, quali.sup, var, quanti.sup), invisible=c(, new.plot=TRUE)) plot.MCA(res, axes=c(1, 2), choix=var, col.var=darkred, col.quali.sup=darkgreen, label=c(var, quali.sup), invisible=c(, new.plot=TRUE)) plot.MCA(res, axes=c(1, 2), choix=quanti.sup, col.quanti.sup=blue, label=c(quanti.sup, new.plot=TRUE)) remove(EuTop100.MCA) however should result in three graphs. What went wrong? MCA(EuTop100.MCA) just works fine. Thank you and best wishes: Daniel [[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. __ 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.
Re: [R] R Commander and FactoMineR
Hello, well yes, I see that it should be ... ,invisible=c(none), new.plot=TRUE) or something similar. I can correct this by hand The point was more like a bug-report. Maybe not the best place to mention a bug, but I couldn't find a better one. I do not know how to change the output of the point-and-click method. Best regards: daniel Feladó: Pascal Oettli [kri...@ymail.com] Küldve: 2013. április 2. 11:18 To: Dániel Kehl Cc: r-help@r-project.org Tárgy: Re: [R] R Commander and FactoMineR Hello, Did you check the position of the brackets, for example for invisible argument? Regards, Pascal On 04/02/2013 06:09 PM, Dániel Kehl wrote: Dear Users, I helped to install R Commander and FactoMineR to one of my collegaues. He wanted to do an MCA. Selecting three variables and using the default settings results in only one graph, the variables representation, where he gets three points for the three variables (which is totally fine). Running the code (output of the point-and-click method) EuTop100.MCA-EuTop100[, c(ország, szektor, székhely)] res-MCA(EuTop100.MCA, ncp=5, graph = FALSE) plot.MCA(res, axes=c(1, 2), col.ind=black, col.ind.sup=blue, col.var=darkred, col.quali.sup=darkgreen, label=c(ind, ind.sup, quali.sup, var, quanti.sup), invisible=c(, new.plot=TRUE)) plot.MCA(res, axes=c(1, 2), choix=var, col.var=darkred, col.quali.sup=darkgreen, label=c(var, quali.sup), invisible=c(, new.plot=TRUE)) plot.MCA(res, axes=c(1, 2), choix=quanti.sup, col.quanti.sup=blue, label=c(quanti.sup, new.plot=TRUE)) remove(EuTop100.MCA) however should result in three graphs. What went wrong? MCA(EuTop100.MCA) just works fine. Thank you and best wishes: Daniel [[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. __ 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.
Re: [R] R Commander and FactoMineR
Dear Dániel, One normally sends a bug report to the maintainer of a package, in this case the maintainer of the FactoMineR package, Francois Husson, to whom I'm copying this reply. Best, John John Fox Sen. William McMaster Prof. of Social Statistics Department of Sociology McMaster University Hamilton, Ontario, Canada http://socserv.mcmaster.ca/jfox/ On Tue, 2 Apr 2013 09:54:16 + Dániel Kehl ke...@ktk.pte.hu wrote: Hello, well yes, I see that it should be ... ,invisible=c(none), new.plot=TRUE) or something similar. I can correct this by hand The point was more like a bug-report. Maybe not the best place to mention a bug, but I couldn't find a better one. I do not know how to change the output of the point-and-click method. Best regards: daniel Feladó: Pascal Oettli [kri...@ymail.com] Küldve: 2013. április 2. 11:18 To: Dániel Kehl Cc: r-help@r-project.org Tárgy: Re: [R] R Commander and FactoMineR Hello, Did you check the position of the brackets, for example for invisible argument? Regards, Pascal On 04/02/2013 06:09 PM, Dániel Kehl wrote: Dear Users, I helped to install R Commander and FactoMineR to one of my collegaues. He wanted to do an MCA. Selecting three variables and using the default settings results in only one graph, the variables representation, where he gets three points for the three variables (which is totally fine). Running the code (output of the point-and-click method) EuTop100.MCA-EuTop100[, c(ország, szektor, székhely)] res-MCA(EuTop100.MCA, ncp=5, graph = FALSE) plot.MCA(res, axes=c(1, 2), col.ind=black, col.ind.sup=blue, col.var=darkred, col.quali.sup=darkgreen, label=c(ind, ind.sup, quali.sup, var, quanti.sup), invisible=c(, new.plot=TRUE)) plot.MCA(res, axes=c(1, 2), choix=var, col.var=darkred, col.quali.sup=darkgreen, label=c(var, quali.sup), invisible=c(, new.plot=TRUE)) plot.MCA(res, axes=c(1, 2), choix=quanti.sup, col.quanti.sup=blue, label=c(quanti.sup, new.plot=TRUE)) remove(EuTop100.MCA) however should result in three graphs. What went wrong? MCA(EuTop100.MCA) just works fine. Thank you and best wishes: Daniel [[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. __ 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.
[R] R Commander - Time Series
Hello all, I'm just starting to learn R and I heard a good way of doing that was R Commander. For my work I use a lot of time series, so I installed (and loaded) R Commander with epack. When I go to Ts-Models, after loading my data, I click on ARIMA Models tab. I load my variable D1 Ln Demand (1st differenced ln demand). I set my regular and seasonal p d q settings hit run and I get: [1] Error in list(order = c(0, 1, 0), period = ) : argument 2 is empty\n attr(,class) [1] try-error attr(,condition) simpleError in list(order = c(0, 1, 0), period = ): argument 2 is empty I assume it means the period is empty? But there was no option to set that. It says in the messages sections: [4] ERROR: argument 2 is empty [5] ERROR: the model ArimaModel.1 is no longer available [6] ERROR: There are no models from which to choose. [7] ERROR: argument 2 is empty [8] ERROR: the model ArimaModel.2 is no longer available [9] ERROR: argument 2 is empty [10] ERROR: the model ArimaModel.4 is no longer available Thoughts? -- View this message in context: http://r.789695.n4.nabble.com/R-Commander-Time-Series-tp4639765.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.
Re: [R] R Commander - Time Series
I don't think a lot of people here use R Commander so diagnosing something from there may be difficult. Probably the first thing to do is to supply us with some sample data. The best way do do this is usually to use the dput() command and just copy and paste the output into your email . If it is a lot of data try something like head(dput(mydata, 50)) which should supply 50 rows of data.. I think you can do this by typing it in the Script window. Also we should see the output window commands and error messages. BTW, nice as Rcmdr is, in the longer run, I think you are better off with a terminal and good R editor. Tinn-R for Windows or gedit for linux are not bad and some fanatics love EMACS with ESS :) Wecome to R. John Kane Kingston ON Canada -Original Message- From: billpete...@hotmail.com Sent: Thu, 9 Aug 2012 06:54:50 -0700 (PDT) To: r-help@r-project.org Subject: [R] R Commander - Time Series Hello all, I'm just starting to learn R and I heard a good way of doing that was R Commander. For my work I use a lot of time series, so I installed (and loaded) R Commander with epack. When I go to Ts-Models, after loading my data, I click on ARIMA Models tab. I load my variable D1 Ln Demand (1st differenced ln demand). I set my regular and seasonal p d q settings hit run and I get: [1] Error in list(order = c(0, 1, 0), period = ) : argument 2 is empty\n attr(,class) [1] try-error attr(,condition) simpleError in list(order = c(0, 1, 0), period = ): argument 2 is empty I assume it means the period is empty? But there was no option to set that. It says in the messages sections: [4] ERROR: argument 2 is empty [5] ERROR: the model ArimaModel.1 is no longer available [6] ERROR: There are no models from which to choose. [7] ERROR: argument 2 is empty [8] ERROR: the model ArimaModel.2 is no longer available [9] ERROR: argument 2 is empty [10] ERROR: the model ArimaModel.4 is no longer available Thoughts? -- View this message in context: http://r.789695.n4.nabble.com/R-Commander-Time-Series-tp4639765.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. FREE ONLINE PHOTOSHARING - Share your photos online with your friends and family! Visit http://www.inbox.com/photosharing to find out more! __ 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.
Re: [R] R Commander - Time Series
On Aug 9, 2012, at 9:21 AM, John Kane jrkrid...@inbox.com wrote: I don't think a lot of people here use R Commander so diagnosing something from there may be difficult. Probably the first thing to do is to supply us with some sample data. The best way do do this is usually to use the dput() command and just copy and paste the output into your email . If it is a lot of data try something like head(dput(mydata, 50)) which should supply 50 rows of data.. I think you can do this by typing it in the Script window. Rather dput(head(my data, 50)) Also we should see the output window commands and error messages. BTW, nice as Rcmdr is, in the longer run, I think you are better off with a terminal and good R editor. Tinn-R for Windows or gedit for linux are not bad and some fanatics love EMACS with ESS :) Wecome to R. John Kane Kingston ON Canada -Original Message- From: billpete...@hotmail.com Sent: Thu, 9 Aug 2012 06:54:50 -0700 (PDT) To: r-help@r-project.org Subject: [R] R Commander - Time Series Hello all, I'm just starting to learn R and I heard a good way of doing that was R Commander. For my work I use a lot of time series, so I installed (and loaded) R Commander with epack. When I go to Ts-Models, after loading my data, I click on ARIMA Models tab. I load my variable D1 Ln Demand (1st differenced ln demand). I set my regular and seasonal p d q settings hit run and I get: [1] Error in list(order = c(0, 1, 0), period = ) : argument 2 is empty\n attr(,class) [1] try-error attr(,condition) simpleError in list(order = c(0, 1, 0), period = ): argument 2 is empty I assume it means the period is empty? But there was no option to set that. It says in the messages sections: [4] ERROR: argument 2 is empty [5] ERROR: the model ArimaModel.1 is no longer available [6] ERROR: There are no models from which to choose. [7] ERROR: argument 2 is empty [8] ERROR: the model ArimaModel.2 is no longer available [9] ERROR: argument 2 is empty [10] ERROR: the model ArimaModel.4 is no longer available Thoughts? -- View this message in context: http://r.789695.n4.nabble.com/R-Commander-Time-Series-tp4639765.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. FREE ONLINE PHOTOSHARING - Share your photos online with your friends and family! Visit http://www.inbox.com/photosharing to find out more! __ 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.
Re: [R] R Commander - Time Series
Dear Billpete002, This looks to me like it's possibly a bug in RcmdrPlugin.epack -- that is, you may have done something wrong, but I'd expect in this case that the timeseries plug=in would intercept the error and return an informative error message. You might want to correspond directly with the author of the plug-in package, Erin Hodgess. I'm copying my response to Erin in case she didn't notice your posting. Best, John --- John Fox Senator William McMaster Professor of Social Statistics Department of Sociology McMaster Univeristy Hamilton, Ontario, Canada -Original Message- From: r-help-boun...@r-project.org [mailto:r-help-boun...@r-project.org] On Behalf Of Billpete002 Sent: August-09-12 6:55 AM To: r-help@r-project.org Subject: [R] R Commander - Time Series Hello all, I'm just starting to learn R and I heard a good way of doing that was R Commander. For my work I use a lot of time series, so I installed (and loaded) R Commander with epack. When I go to Ts-Models, after loading my data, I click on ARIMA Models tab. I load my variable D1 Ln Demand (1st differenced ln demand). I set my regular and seasonal p d q settings hit run and I get: [1] Error in list(order = c(0, 1, 0), period = ) : argument 2 is empty\n attr(,class) [1] try-error attr(,condition) simpleError in list(order = c(0, 1, 0), period = ): argument 2 is empty I assume it means the period is empty? But there was no option to set that. It says in the messages sections: [4] ERROR: argument 2 is empty [5] ERROR: the model ArimaModel.1 is no longer available [6] ERROR: There are no models from which to choose. [7] ERROR: argument 2 is empty [8] ERROR: the model ArimaModel.2 is no longer available [9] ERROR: argument 2 is empty [10] ERROR: the model ArimaModel.4 is no longer available Thoughts? -- View this message in context: http://r.789695.n4.nabble.com/R- Commander-Time-Series-tp4639765.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. __ 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.
Re: [R] R Commander - Time Series
Rather dput(head(my data, 50)) Argh!!! I think that in the third time in three weeks . John Kane Kingston ON Canada -Original Message- From: michael.weyla...@gmail.com Sent: Thu, 9 Aug 2012 10:29:07 -0500 To: jrkrid...@inbox.com Subject: Re: [R] R Commander - Time Series On Aug 9, 2012, at 9:21 AM, John Kane jrkrid...@inbox.com wrote: I don't think a lot of people here use R Commander so diagnosing something from there may be difficult. Probably the first thing to do is to supply us with some sample data. The best way do do this is usually to use the dput() command and just copy and paste the output into your email . If it is a lot of data try something like head(dput(mydata, 50)) which should supply 50 rows of data.. I think you can do this by typing it in the Script window. Rather dput(head(my data, 50)) Also we should see the output window commands and error messages. BTW, nice as Rcmdr is, in the longer run, I think you are better off with a terminal and good R editor. Tinn-R for Windows or gedit for linux are not bad and some fanatics love EMACS with ESS :) Wecome to R. John Kane Kingston ON Canada -Original Message- From: billpete...@hotmail.com Sent: Thu, 9 Aug 2012 06:54:50 -0700 (PDT) To: r-help@r-project.org Subject: [R] R Commander - Time Series Hello all, I'm just starting to learn R and I heard a good way of doing that was R Commander. For my work I use a lot of time series, so I installed (and loaded) R Commander with epack. When I go to Ts-Models, after loading my data, I click on ARIMA Models tab. I load my variable D1 Ln Demand (1st differenced ln demand). I set my regular and seasonal p d q settings hit run and I get: [1] Error in list(order = c(0, 1, 0), period = ) : argument 2 is empty\n attr(,class) [1] try-error attr(,condition) simpleError in list(order = c(0, 1, 0), period = ): argument 2 is empty I assume it means the period is empty? But there was no option to set that. It says in the messages sections: [4] ERROR: argument 2 is empty [5] ERROR: the model ArimaModel.1 is no longer available [6] ERROR: There are no models from which to choose. [7] ERROR: argument 2 is empty [8] ERROR: the model ArimaModel.2 is no longer available [9] ERROR: argument 2 is empty [10] ERROR: the model ArimaModel.4 is no longer available Thoughts? -- View this message in context: http://r.789695.n4.nabble.com/R-Commander-Time-Series-tp4639765.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. FREE ONLINE PHOTOSHARING - Share your photos online with your friends and family! Visit http://www.inbox.com/photosharing to find out more! __ 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. GET FREE SMILEYS FOR YOUR IM EMAIL - Learn more at http://www.inbox.com/smileys Works with AIM®, MSN® Messenger, Yahoo!® Messenger, ICQ®, Google Talk™ and most webmails __ 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.
Re: [R] R Commander - Time Series
On Aug 9, 2012, at 8:55 AM, John Kane wrote: Rather dput(head(my data, 50)) There's an Internet name for the misspelling a correction of a spelling error. Something like guy's name Corollary. This is what I found, but it's not the name I (don't) remember: http://rationalwiki.org/wiki/Skitt%27s_Law Argh!!! I think that in the third time in three weeks . Michael probably made his error just to make you feel better. -- Best; David. John Kane Kingston ON Canada -Original Message- From: michael.weyla...@gmail.com Sent: Thu, 9 Aug 2012 10:29:07 -0500 To: jrkrid...@inbox.com Subject: Re: [R] R Commander - Time Series On Aug 9, 2012, at 9:21 AM, John Kane jrkrid...@inbox.com wrote: I don't think a lot of people here use R Commander so diagnosing something from there may be difficult. Probably the first thing to do is to supply us with some sample data. The best way do do this is usually to use the dput() command and just copy and paste the output into your email . If it is a lot of data try something like head(dput(mydata, 50)) which should supply 50 rows of data.. I think you can do this by typing it in the Script window. Rather dput(head(my data, 50)) Also we should see the output window commands and error messages. BTW, nice as Rcmdr is, in the longer run, I think you are better off with a terminal and good R editor. Tinn-R for Windows or gedit for linux are not bad and some fanatics love EMACS with ESS :) Wecome to R. John Kane Kingston ON Canada -Original Message- From: billpete...@hotmail.com Sent: Thu, 9 Aug 2012 06:54:50 -0700 (PDT) To: r-help@r-project.org Subject: [R] R Commander - Time Series Hello all, I'm just starting to learn R and I heard a good way of doing that was R Commander. For my work I use a lot of time series, so I installed (and loaded) R Commander with epack. When I go to Ts-Models, after loading my data, I click on ARIMA Models tab. I load my variable D1 Ln Demand (1st differenced ln demand). I set my regular and seasonal p d q settings hit run and I get: [1] Error in list(order = c(0, 1, 0), period = ) : argument 2 is empty\n attr(,class) [1] try-error attr(,condition) simpleError in list(order = c(0, 1, 0), period = ): argument 2 is empty I assume it means the period is empty? But there was no option to set that. It says in the messages sections: [4] ERROR: argument 2 is empty [5] ERROR: the model ArimaModel.1 is no longer available [6] ERROR: There are no models from which to choose. [7] ERROR: argument 2 is empty [8] ERROR: the model ArimaModel.2 is no longer available [9] ERROR: argument 2 is empty [10] ERROR: the model ArimaModel.4 is no longer available Thoughts? -- View this message in context: http://r.789695.n4.nabble.com/R-Commander-Time-Series- tp4639765.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. FREE ONLINE PHOTOSHARING - Share your photos online with your friends and family! Visit http://www.inbox.com/photosharing to find out more! __ 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. GET FREE SMILEYS FOR YOUR IM EMAIL - Learn more at http://www.inbox.com/smileys Works with AIM®, MSN® Messenger, Yahoo!® Messenger, ICQ®, Google Talk™ and most webmails __ 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. David Winsemius, MD Alameda, CA, USA __ 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.
Re: [R] R Commander - Time Series
On 09/08/2012 21:13, David Winsemius wrote: On Aug 9, 2012, at 8:55 AM, John Kane wrote: Rather dput(head(my data, 50)) There's an Internet name for the misspelling a correction of a spelling error. Something like guy's name Corollary. This is what I found, but it's not the name I (don't) remember: http://rationalwiki.org/wiki/Skitt%27s_Law Remember the (statistician, so not completely OT) Stigler's law. Argh!!! I think that in the third time in three weeks . Michael probably made his error just to make you feel better. -- Brian D. Ripley, rip...@stats.ox.ac.uk Professor of Applied Statistics, http://www.stats.ox.ac.uk/~ripley/ University of Oxford, Tel: +44 1865 272861 (self) 1 South Parks Road, +44 1865 272866 (PA) Oxford OX1 3TG, UKFax: +44 1865 272595 __ 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.
Re: [R] R Commander - Time Series
Skitt's is definately the name I remember. Very active on some English language newsgroups. John Kane Kingston ON Canada -Original Message- From: dwinsem...@comcast.net Sent: Thu, 9 Aug 2012 13:13:40 -0700 To: jrkrid...@inbox.com Subject: Re: [R] R Commander - Time Series On Aug 9, 2012, at 8:55 AM, John Kane wrote: Rather dput(head(my data, 50)) There's an Internet name for the misspelling a correction of a spelling error. Something like guy's name Corollary. This is what I found, but it's not the name I (don't) remember: http://rationalwiki.org/wiki/Skitt%27s_Law Argh!!! I think that in the third time in three weeks . Michael probably made his error just to make you feel better. -- Best; David. John Kane Kingston ON Canada -Original Message- From: michael.weyla...@gmail.com Sent: Thu, 9 Aug 2012 10:29:07 -0500 To: jrkrid...@inbox.com Subject: Re: [R] R Commander - Time Series On Aug 9, 2012, at 9:21 AM, John Kane jrkrid...@inbox.com wrote: I don't think a lot of people here use R Commander so diagnosing something from there may be difficult. Probably the first thing to do is to supply us with some sample data. The best way do do this is usually to use the dput() command and just copy and paste the output into your email . If it is a lot of data try something like head(dput(mydata, 50)) which should supply 50 rows of data.. I think you can do this by typing it in the Script window. Rather dput(head(my data, 50)) Also we should see the output window commands and error messages. BTW, nice as Rcmdr is, in the longer run, I think you are better off with a terminal and good R editor. Tinn-R for Windows or gedit for linux are not bad and some fanatics love EMACS with ESS :) Wecome to R. John Kane Kingston ON Canada -Original Message- From: billpete...@hotmail.com Sent: Thu, 9 Aug 2012 06:54:50 -0700 (PDT) To: r-help@r-project.org Subject: [R] R Commander - Time Series Hello all, I'm just starting to learn R and I heard a good way of doing that was R Commander. For my work I use a lot of time series, so I installed (and loaded) R Commander with epack. When I go to Ts-Models, after loading my data, I click on ARIMA Models tab. I load my variable D1 Ln Demand (1st differenced ln demand). I set my regular and seasonal p d q settings hit run and I get: [1] Error in list(order = c(0, 1, 0), period = ) : argument 2 is empty\n attr(,class) [1] try-error attr(,condition) simpleError in list(order = c(0, 1, 0), period = ): argument 2 is empty I assume it means the period is empty? But there was no option to set that. It says in the messages sections: [4] ERROR: argument 2 is empty [5] ERROR: the model ArimaModel.1 is no longer available [6] ERROR: There are no models from which to choose. [7] ERROR: argument 2 is empty [8] ERROR: the model ArimaModel.2 is no longer available [9] ERROR: argument 2 is empty [10] ERROR: the model ArimaModel.4 is no longer available Thoughts? -- View this message in context: http://r.789695.n4.nabble.com/R-Commander-Time-Series- tp4639765.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. FREE ONLINE PHOTOSHARING - Share your photos online with your friends and family! Visit http://www.inbox.com/photosharing to find out more! __ 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. GET FREE SMILEYS FOR YOUR IM EMAIL - Learn more at http://www.inbox.com/smileys Works with AIM®, MSN® Messenger, Yahoo!® Messenger, ICQ®, Google Talk™ and most webmails __ 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. David Winsemius, MD Alameda, CA, USA FREE ONLINE PHOTOSHARING - Share your photos online with your friends and family! Visit http://www.inbox.com/photosharing to find out more! __ 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
Re: [R] R Commander options
Dear Michael, This ended up being more of a mess than I anticipated, but I think that I now have font selection working as advertised on both Windows and Mac OS X. I don't have a convenient Linux system to test on at the moment, but the Rcmdr should behave on Linux as on Mac OS X. (1) The default.font Rcmdr option now works on both Windows and non-Windows systems, but fonts are specified in Tk form; there's an example in ?Commander. (2) The default.font.size and log.font.size Rcmdr options control respectively the point-size of GUI elements and R input/output/messages. These too work on both Windows and non-Windows systems. On non-Windows systems the default.font.size option will generally be preferable to the default.font option; if both are specified, the latter is used. (3) The scale.factor option still doesn't work reliably on non-Windows systems. On Windows systems, in most cases, specifying scale.factor will be more convenient than specifying default.font.size and log.font.size. (4) The Tools - Options dialog allows the user to set the default font size option on non-Windows systems and the scale factor option on Windows systems. I don't think that you previous option specifications would have done what you want even if the current version of the Rcmdr were working properly. In the new setup, I think you want something like options(Rcmdr = list(default.font.size=15, log.font.size = 15, log.width = 54, log.height = 6, output.height = 18, )) If you really want to scale up the fonts from 15 points by a factor of 1.4, use 21 points. All of these changes are in the development version 1.8-2 of the Rcmdr package on R-Forge. You should be able to get the most up-to-date version (now revision 173) via svn, or you can wait until R-Forge builds the source package, which is usually done daily (check the revision number at https://r-forge.r-project.org/R/?group_id=255). Please let me know whether this works properly for you now. I'm copying this response to Rich Heiberger, since the changes may affect him. Best, John John Fox Senator William McMaster Professor of Social Statistics Department of Sociology McMaster University Hamilton, Ontario, Canada http://socserv.mcmaster.ca/jfox -Original Message- From: r-help-boun...@r-project.org [mailto:r-help-bounces@r- project.org] On Behalf Of Michael Schmidt Sent: December-28-11 2:12 PM To: r-help@r-project.org Subject: Re: [R] R Commander options Folks, Thanks for the help and I've used it as follows. I've created a .Rprofile file in my home directory and placed the following code in it: options(Rcmdr = list(default.font=*helvetica-medium-r-normal-*-15*, log.font.size = 15, log.width = 54, log.height = 6, output.height = 18, scale.factor = 1.4)) When I start Rcmdr with the desktop launcher, there are no error messages and the log font settings are correct. However, I was of the impression that the default.font setting would affect the GUI widgets, and that isn't happening. Am I mistaken? Again, thanks to all! Michael Schmidt -- View this message in context: http://r.789695.n4.nabble.com/R- Commander-options-tp4238183p4240767.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. __ 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.
Re: [R] R Commander options
Folks, Thanks for the help and I've used it as follows. I've created a .Rprofile file in my home directory and placed the following code in it: options(Rcmdr = list(default.font=*helvetica-medium-r-normal-*-15*, log.font.size = 15, log.width = 54, log.height = 6, output.height = 18, scale.factor = 1.4)) When I start Rcmdr with the desktop launcher, there are no error messages and the log font settings are correct. However, I was of the impression that the default.font setting would affect the GUI widgets, and that isn't happening. Am I mistaken? Again, thanks to all! Michael Schmidt -- View this message in context: http://r.789695.n4.nabble.com/R-Commander-options-tp4238183p4240767.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.
Re: [R] R Commander options
Dear Michael, -Original Message- From: r-help-boun...@r-project.org [mailto:r-help-bounces@r- project.org] On Behalf Of Michael Schmidt Sent: December-28-11 2:12 PM To: r-help@r-project.org Subject: Re: [R] R Commander options Folks, Thanks for the help and I've used it as follows. I've created a .Rprofile file in my home directory and placed the following code in it: options(Rcmdr = list(default.font=*helvetica-medium-r-normal-*-15*, log.font.size = 15, log.width = 54, log.height = 6, output.height = 18, scale.factor = 1.4)) When I start Rcmdr with the desktop launcher, there are no error messages and the log font settings are correct. However, I was of the impression that the default.font setting would affect the GUI widgets, and that isn't happening. Am I mistaken? No, default.font and default.font.size should affect the font used in Tk widgets. I just check on Mac OS X, and font definition doesn't seem to be working correctly -- I know that it did at some point in the past. On Windows systems, the scale.factor Rcmdr option still seems to work correctly; it never did work right on non-Windows systems. I'll look into this problem as soon as I have a chance. Thanks for the bug report, John Again, thanks to all! Michael Schmidt -- View this message in context: http://r.789695.n4.nabble.com/R- Commander-options-tp4238183p4240767.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. __ 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] R Commander options
I realize this is basic, but I can't figure out the syntax for setting options for R Commander. I'm running Linux Mint and want to increase the R Commander font sizes. I see that there are (apparently command line) options to do so. I have a desktop launcher with the following command line: sh -c 'R_DEFAULT_PACKAGES=$R_DEFAULT_PACKAGES Rcmdr R $@' Can this be modified to override default font sizes? Alternatively, I've started Rcmdr from the terminal with R library(Rcmdr) but again, can't figure out where to insert the options settings to change the font size. Could someone provide the exact syntax to accomplish this? Sorry about the basic nature of the question - I've read everything I could find on the Web and it just keeps saying the same thing over and over. Thanks! -- View this message in context: http://r.789695.n4.nabble.com/R-Commander-options-tp4238183p4238183.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.
Re: [R] R Commander options
It is very easy. Here is my Projector() function from library(RcmdrPlugin.HH) Projector - function() { Rcmdr - options()$Rcmdr Projector.options - list(log.font.size = 15, log.width = 54, log.height = 6, output.height = 18, scale.factor = 1.4) Rcmdr[names(Projector.options)] - Projector.options options(Rcmdr=Rcmdr) trellis.par.set(list(superpose.symbol=list( pch=rep(16, length(trellis.par.get(superpose.symbol)$pch))), plot.symbol=list(pch=16))) par(pch=16) putRcmdr(autoRestart, TRUE) closeCommander(ask=FALSE) Commander() } Projector() I use it to set a large font for classroom presentations. On Tue, Dec 27, 2011 at 3:57 PM, Michael Schmidt michaelschmidt0...@gmail.com wrote: I realize this is basic, but I can't figure out the syntax for setting options for R Commander. I'm running Linux Mint and want to increase the R Commander font sizes. I see that there are (apparently command line) options to do so. I have a desktop launcher with the following command line: sh -c 'R_DEFAULT_PACKAGES=$R_DEFAULT_PACKAGES Rcmdr R $@' Can this be modified to override default font sizes? Alternatively, I've started Rcmdr from the terminal with R library(Rcmdr) but again, can't figure out where to insert the options settings to change the font size. Could someone provide the exact syntax to accomplish this? Sorry about the basic nature of the question - I've read everything I could find on the Web and it just keeps saying the same thing over and over. Thanks! -- View this message in context: http://r.789695.n4.nabble.com/R-Commander-options-tp4238183p4238183.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.htmlhttp://www.r-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code. [[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.
Re: [R] R Commander options
Dear Rich and Michael, Thanks, Rich, for answering Michael's question. I'll just add that ?Commander (or Help - Commander help, from the Rcmdr menus) provides information about the available Rcmdr options. Best, John John Fox Senator William McMaster Professor of Social Statistics Department of Sociology McMaster University Hamilton, Ontario, Canada http://socserv.mcmaster.ca/jfox -Original Message- From: r-help-boun...@r-project.org [mailto:r-help-bounces@r- project.org] On Behalf Of Richard M. Heiberger Sent: December-27-11 5:41 PM To: Michael Schmidt Cc: r-help@r-project.org Subject: Re: [R] R Commander options It is very easy. Here is my Projector() function from library(RcmdrPlugin.HH) Projector - function() { Rcmdr - options()$Rcmdr Projector.options - list(log.font.size = 15, log.width = 54, log.height = 6, output.height = 18, scale.factor = 1.4) Rcmdr[names(Projector.options)] - Projector.options options(Rcmdr=Rcmdr) trellis.par.set(list(superpose.symbol=list( pch=rep(16, length(trellis.par.get(superpose.symbol)$pch))), plot.symbol=list(pch=16))) par(pch=16) putRcmdr(autoRestart, TRUE) closeCommander(ask=FALSE) Commander() } Projector() I use it to set a large font for classroom presentations. On Tue, Dec 27, 2011 at 3:57 PM, Michael Schmidt michaelschmidt0...@gmail.com wrote: I realize this is basic, but I can't figure out the syntax for setting options for R Commander. I'm running Linux Mint and want to increase the R Commander font sizes. I see that there are (apparently command line) options to do so. I have a desktop launcher with the following command line: sh -c 'R_DEFAULT_PACKAGES=$R_DEFAULT_PACKAGES Rcmdr R $@' Can this be modified to override default font sizes? Alternatively, I've started Rcmdr from the terminal with R library(Rcmdr) but again, can't figure out where to insert the options settings to change the font size. Could someone provide the exact syntax to accomplish this? Sorry about the basic nature of the question - I've read everything I could find on the Web and it just keeps saying the same thing over and over. Thanks! -- View this message in context: http://r.789695.n4.nabble.com/R-Commander-options- tp4238183p4238183.ht ml 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.htmlhttp://www.r- project.org/p osting-guide.html and provide commented, minimal, self-contained, reproducible code. [[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. __ 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.
Re: [R] R Commander QQ Plot with triangular distribution
Thank you for your prompt reply, I apologize for posting as an R Commander question. Your response is pointing me in the right direction, but I am still not quite there. The triangle package has a qtriangle and dtriangle. The formal arguments are a, b, and c. (formals(qtriangle)) When I use R Commander as: qqPlot(Transfer5000$Transfer.Rate, dist=triangle, a=3000,b=5000,c=4000) I get the error message: Error in qqPlot.default(Transfer5000$Transfer.Rate, dist = triangle, : argument 5 matches multiple formal arguments and I am unclear as to how to specify that the c argument needs to pertain specifically to the qtriangle (or perhaps dtriangle) function arguments, that is, how to avoid a conflict with other arguments of qqPlot that are ambiguous when passed c.. Again, sorry to post here, as this has clearly wandered into other territory. My exploratory searches to resolve this take me well beyond my current ability in R. If there is not an obvious answer, I will re-post specifically on the topic of specifying formal arguments of distributions to qqPlot. Thanks. Dick Males On Tue, Mar 8, 2011 at 11:19 AM, John Fox j...@mcmaster.ca wrote: Dear R. Males, This isn't really an R Commander question, since the qqPlot() function is in the car package and is just invoked by the R Commander. From ?qqPlot: distribution: root name of comparison distribution - e.g., norm for the normal distribution ... Any distribution for which quantile and density functions exist in R (with prefixes q and d, respectively) may be used. Thus, if there's a qtriangle() and dtriangle(), I suppose that you should be able to get a QQ plot. Further from ?qqPlot: ... arguments such as df to be passed to the appropriate quantile function. Thus, you should *name* the arguments to be passed to qtriangle() -- perhaps (of course, you should use the correct names) min=3000, max=5000, mode=4000. I hope this helps, John John Fox Senator William McMaster Professor of Social Statistics Department of Sociology McMaster University Hamilton, Ontario, Canada http://socserv.mcmaster.ca/jfox -Original Message- From: r-help-boun...@r-project.org [mailto:r-help-boun...@r-project.org] On Behalf Of Richard and Barbara Males Sent: March-08-11 10:49 AM To: r-help@r-project.org Subject: [R] R Commander QQ Plot with triangular distribution I am attempting to use the R Commander Graphs Quantile-Comparison functionality on a dataset, to compare with a triangular distribution. I have the package triangle. My question is on the syntax of how to specify the parameters of the theoretical distribution in the Parameters field of the dialog box. For example, the theoretical distribution has min of 3000, max of 5000, mode of 4000. When I enter this info as 3000,5000,4000 in the parameters field, I get: qqPlot(EmpiricalData$Value, dist=triangle, 3000,5000,4000) it produces a plot, but I am not sure that this is correct. I have searched for examples, not found anything. Any help much appreciated. R. Males Cincinnati, Ohio, USA __ 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.
Re: [R] R Commander QQ Plot with triangular distribution
Dear Dick, -Original Message- From: Richard and Barbara Males [mailto:rbma...@gmail.com] Sent: March-09-11 10:54 AM To: John Fox Cc: r-help@r-project.org Subject: Re: [R] R Commander QQ Plot with triangular distribution Thank you for your prompt reply, I apologize for posting as an R Commander question. Your response is pointing me in the right direction, but I am still not quite there. The triangle package has a qtriangle and dtriangle. The formal arguments are a, b, and c. (formals(qtriangle)) When I use R Commander as: qqPlot(Transfer5000$Transfer.Rate, dist=triangle, a=3000,b=5000,c=4000) I get the error message: Error in qqPlot.default(Transfer5000$Transfer.Rate, dist = triangle, : argument 5 matches multiple formal arguments and I am unclear as to how to specify that the c argument needs to pertain specifically to the qtriangle (or perhaps dtriangle) function arguments, that is, how to avoid a conflict with other arguments of qqPlot that are ambiguous when passed c.. I don't see a way around this problem, short of something like writing cover functions yourself with different argument names, e.g., qtri - function(p, A, B, C) qtriangle(p, a=A, b=B, c=C). Again, sorry to post here, as this has clearly wandered into other territory. My exploratory searches to resolve this take me well beyond my current ability in R. If there is not an obvious answer, I will re- post specifically on the topic of specifying formal arguments of distributions to qqPlot. No need to apologize -- this is a reasonable question and reveals a flaw in the interface to qqPlot(), and it's not obvious how to fix it. Suggestions would be appreciated. Best, John Thanks. Dick Males On Tue, Mar 8, 2011 at 11:19 AM, John Fox j...@mcmaster.ca wrote: Dear R. Males, This isn't really an R Commander question, since the qqPlot() function is in the car package and is just invoked by the R Commander. From ?qqPlot: distribution: root name of comparison distribution - e.g., norm for the normal distribution ... Any distribution for which quantile and density functions exist in R (with prefixes q and d, respectively) may be used. Thus, if there's a qtriangle() and dtriangle(), I suppose that you should be able to get a QQ plot. Further from ?qqPlot: ... arguments such as df to be passed to the appropriate quantile function. Thus, you should *name* the arguments to be passed to qtriangle() -- perhaps (of course, you should use the correct names) min=3000, max=5000, mode=4000. I hope this helps, John John Fox Senator William McMaster Professor of Social Statistics Department of Sociology McMaster University Hamilton, Ontario, Canada http://socserv.mcmaster.ca/jfox -Original Message- From: r-help-boun...@r-project.org [mailto:r-help-boun...@r-project.org] On Behalf Of Richard and Barbara Males Sent: March-08-11 10:49 AM To: r-help@r-project.org Subject: [R] R Commander QQ Plot with triangular distribution I am attempting to use the R Commander Graphs Quantile-Comparison functionality on a dataset, to compare with a triangular distribution. I have the package triangle. My question is on the syntax of how to specify the parameters of the theoretical distribution in the Parameters field of the dialog box. For example, the theoretical distribution has min of 3000, max of 5000, mode of 4000. When I enter this info as 3000,5000,4000 in the parameters field, I get: qqPlot(EmpiricalData$Value, dist=triangle, 3000,5000,4000) it produces a plot, but I am not sure that this is correct. I have searched for examples, not found anything. Any help much appreciated. R. Males Cincinnati, Ohio, USA __ 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.
Re: [R] R Commander QQ Plot with triangular distribution
On 2011-03-09 07:53, Richard and Barbara Males wrote: Thank you for your prompt reply, I apologize for posting as an R Commander question. Your response is pointing me in the right direction, but I am still not quite there. The triangle package has a qtriangle and dtriangle. The formal arguments are a, b, and c. (formals(qtriangle)) When I use R Commander as: qqPlot(Transfer5000$Transfer.Rate, dist=triangle, a=3000,b=5000,c=4000) I get the error message: Error in qqPlot.default(Transfer5000$Transfer.Rate, dist = triangle, : argument 5 matches multiple formal arguments and I am unclear as to how to specify that the c argument needs to pertain specifically to the qtriangle (or perhaps dtriangle) function arguments, that is, how to avoid a conflict with other arguments of qqPlot that are ambiguous when passed c.. Again, sorry to post here, as this has clearly wandered into other territory. My exploratory searches to resolve this take me well beyond my current ability in R. If there is not an obvious answer, I will re-post specifically on the topic of specifying formal arguments of distributions to qqPlot. Dick, I think that the author of the triangle package has chosen an unfortunate name for one of the parameters. Here's a work-around: ## define two new functions dtri() and qtri(): dtri - function(q, a=0, b=1, cc=.5) dtriangle(q, a, b, cc) qtri - function(p, a=0, b=1, cc=.5) qtriangle(p, a, b, cc) ## now use tri as the distribution to pass to qqPlot: qqPlot(x, tri, a=3000, b=5000, cc=4000) Peter Ehlers Thanks. Dick Males On Tue, Mar 8, 2011 at 11:19 AM, John Foxj...@mcmaster.ca wrote: Dear R. Males, This isn't really an R Commander question, since the qqPlot() function is in the car package and is just invoked by the R Commander. From ?qqPlot: distribution: root name of comparison distribution - e.g., norm for the normal distribution ... Any distribution for which quantile and density functions exist in R (with prefixes q and d, respectively) may be used. Thus, if there's a qtriangle() and dtriangle(), I suppose that you should be able to get a QQ plot. Further from ?qqPlot: ...arguments such as df to be passed to the appropriate quantile function. Thus, you should *name* the arguments to be passed to qtriangle() -- perhaps (of course, you should use the correct names) min=3000, max=5000, mode=4000. I hope this helps, John John Fox Senator William McMaster Professor of Social Statistics Department of Sociology McMaster University Hamilton, Ontario, Canada http://socserv.mcmaster.ca/jfox -Original Message- From: r-help-boun...@r-project.org [mailto:r-help-boun...@r-project.org] On Behalf Of Richard and Barbara Males Sent: March-08-11 10:49 AM To: r-help@r-project.org Subject: [R] R Commander QQ Plot with triangular distribution I am attempting to use the R Commander Graphs Quantile-Comparison functionality on a dataset, to compare with a triangular distribution. I have the package triangle. My question is on the syntax of how to specify the parameters of the theoretical distribution in the Parameters field of the dialog box. For example, the theoretical distribution has min of 3000, max of 5000, mode of 4000. When I enter this info as 3000,5000,4000 in the parameters field, I get: qqPlot(EmpiricalData$Value, dist=triangle, 3000,5000,4000) it produces a plot, but I am not sure that this is correct. I have searched for examples, not found anything. Any help much appreciated. R. Males Cincinnati, Ohio, USA __ 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. __ 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.
Re: [R] R Commander QQ Plot with triangular distribution
Wow, quick response, works perfectly, just as needed. Thanks to both of you for pointing me in the right direction, and for your contributions to the R community. Dick On Wed, Mar 9, 2011 at 11:21 AM, Peter Ehlers ehl...@ucalgary.ca wrote: On 2011-03-09 07:53, Richard and Barbara Males wrote: Thank you for your prompt reply, I apologize for posting as an R Commander question. Your response is pointing me in the right direction, but I am still not quite there. The triangle package has a qtriangle and dtriangle. The formal arguments are a, b, and c. (formals(qtriangle)) When I use R Commander as: qqPlot(Transfer5000$Transfer.Rate, dist=triangle, a=3000,b=5000,c=4000) I get the error message: Error in qqPlot.default(Transfer5000$Transfer.Rate, dist = triangle, : argument 5 matches multiple formal arguments and I am unclear as to how to specify that the c argument needs to pertain specifically to the qtriangle (or perhaps dtriangle) function arguments, that is, how to avoid a conflict with other arguments of qqPlot that are ambiguous when passed c.. Again, sorry to post here, as this has clearly wandered into other territory. My exploratory searches to resolve this take me well beyond my current ability in R. If there is not an obvious answer, I will re-post specifically on the topic of specifying formal arguments of distributions to qqPlot. Dick, I think that the author of the triangle package has chosen an unfortunate name for one of the parameters. Here's a work-around: ## define two new functions dtri() and qtri(): dtri - function(q, a=0, b=1, cc=.5) dtriangle(q, a, b, cc) qtri - function(p, a=0, b=1, cc=.5) qtriangle(p, a, b, cc) ## now use tri as the distribution to pass to qqPlot: qqPlot(x, tri, a=3000, b=5000, cc=4000) Peter Ehlers Thanks. Dick Males On Tue, Mar 8, 2011 at 11:19 AM, John Foxj...@mcmaster.ca wrote: Dear R. Males, This isn't really an R Commander question, since the qqPlot() function is in the car package and is just invoked by the R Commander. From ?qqPlot: distribution: root name of comparison distribution - e.g., norm for the normal distribution ... Any distribution for which quantile and density functions exist in R (with prefixes q and d, respectively) may be used. Thus, if there's a qtriangle() and dtriangle(), I suppose that you should be able to get a QQ plot. Further from ?qqPlot: ... arguments such as df to be passed to the appropriate quantile function. Thus, you should *name* the arguments to be passed to qtriangle() -- perhaps (of course, you should use the correct names) min=3000, max=5000, mode=4000. I hope this helps, John John Fox Senator William McMaster Professor of Social Statistics Department of Sociology McMaster University Hamilton, Ontario, Canada http://socserv.mcmaster.ca/jfox -Original Message- From: r-help-boun...@r-project.org [mailto:r-help-boun...@r-project.org] On Behalf Of Richard and Barbara Males Sent: March-08-11 10:49 AM To: r-help@r-project.org Subject: [R] R Commander QQ Plot with triangular distribution I am attempting to use the R Commander Graphs Quantile-Comparison functionality on a dataset, to compare with a triangular distribution. I have the package triangle. My question is on the syntax of how to specify the parameters of the theoretical distribution in the Parameters field of the dialog box. For example, the theoretical distribution has min of 3000, max of 5000, mode of 4000. When I enter this info as 3000,5000,4000 in the parameters field, I get: qqPlot(EmpiricalData$Value, dist=triangle, 3000,5000,4000) it produces a plot, but I am not sure that this is correct. I have searched for examples, not found anything. Any help much appreciated. R. Males Cincinnati, Ohio, USA __ 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. __ 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] R Commander QQ Plot with triangular distribution
I am attempting to use the R Commander Graphs Quantile-Comparison functionality on a dataset, to compare with a triangular distribution. I have the package triangle. My question is on the syntax of how to specify the parameters of the theoretical distribution in the Parameters field of the dialog box. For example, the theoretical distribution has min of 3000, max of 5000, mode of 4000. When I enter this info as 3000,5000,4000 in the parameters field, I get: qqPlot(EmpiricalData$Value, dist=triangle, 3000,5000,4000) it produces a plot, but I am not sure that this is correct. I have searched for examples, not found anything. Any help much appreciated. R. Males Cincinnati, Ohio, USA __ 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.
Re: [R] R Commander QQ Plot with triangular distribution
Dear R. Males, This isn't really an R Commander question, since the qqPlot() function is in the car package and is just invoked by the R Commander. From ?qqPlot: distribution: root name of comparison distribution - e.g., norm for the normal distribution ... Any distribution for which quantile and density functions exist in R (with prefixes q and d, respectively) may be used. Thus, if there's a qtriangle() and dtriangle(), I suppose that you should be able to get a QQ plot. Further from ?qqPlot: ...arguments such as df to be passed to the appropriate quantile function. Thus, you should *name* the arguments to be passed to qtriangle() -- perhaps (of course, you should use the correct names) min=3000, max=5000, mode=4000. I hope this helps, John John Fox Senator William McMaster Professor of Social Statistics Department of Sociology McMaster University Hamilton, Ontario, Canada http://socserv.mcmaster.ca/jfox -Original Message- From: r-help-boun...@r-project.org [mailto:r-help-boun...@r-project.org] On Behalf Of Richard and Barbara Males Sent: March-08-11 10:49 AM To: r-help@r-project.org Subject: [R] R Commander QQ Plot with triangular distribution I am attempting to use the R Commander Graphs Quantile-Comparison functionality on a dataset, to compare with a triangular distribution. I have the package triangle. My question is on the syntax of how to specify the parameters of the theoretical distribution in the Parameters field of the dialog box. For example, the theoretical distribution has min of 3000, max of 5000, mode of 4000. When I enter this info as 3000,5000,4000 in the parameters field, I get: qqPlot(EmpiricalData$Value, dist=triangle, 3000,5000,4000) it produces a plot, but I am not sure that this is correct. I have searched for examples, not found anything. Any help much appreciated. R. Males Cincinnati, Ohio, USA __ 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.
[R] R Commander - how to disable the alphabetical sorting of variable names?
I try to disable alphabetical sorting of the variable names but I fail, R Commander does not store any changes made in the Commander Options menu / window. I tried to insert options(sort.names = FALSE) in Rprofile.site and .Rprofile config files but without success. Does anyone know the solution? -- View this message in context: http://r.789695.n4.nabble.com/R-Commander-how-to-disable-the-alphabetical-sorting-of-variable-names-tp3175426p3175426.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.
Re: [R] R Commander - how to disable the alphabetical sorting of variable names?
Dear Iurie Malai, How Rcmdr options are set is described in ?Commander, which is also accessible via the R Commander menus, Help - Commander help. You need options(Rcmdr=list(sort.names=FALSE)) which you can put in Rprofile.site. Best, John John Fox Senator William McMaster Professor of Social Statistics Department of Sociology McMaster University Hamilton, Ontario, Canada web: socserv.mcmaster.ca/jfox -Original Message- From: r-help-boun...@r-project.org [mailto:r-help-boun...@r-project.org] On Behalf Of Iurie Malai Sent: January-05-11 7:39 AM To: r-help@r-project.org Subject: [R] R Commander - how to disable the alphabetical sorting of variable names? I try to disable alphabetical sorting of the variable names but I fail, R Commander does not store any changes made in the Commander Options menu / window. I tried to insert options(sort.names = FALSE) in Rprofile.site and .Rprofile config files but without success. Does anyone know the solution? -- View this message in context: http://r.789695.n4.nabble.com/R-Commander-how- to-disable-the-alphabetical-sorting-of-variable-names-tp3175426p3175426.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. __ 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] R-Commander plug-in difficulties
Hi All, I have recently created an Rcmdr plugin package and it passed all the checks and was uploaded to CRAN. I then downloaded it from CRAN and tried running it from my local R program and received this error: ... Error in f(libname, pkgname) : could not find function getRcmdr Error in library(pkg, character.only = TRUE) : .First.lib failed for 'RcmdrPlugin.MAc' In my .R file with all the relevant functions that are read into the package, I have placed this at the top, which seems to be related to one of the sources of error (?): .packageName - RcmdrPlugin.MAc .First.lib - function(libname, pkgname){ if (!interactive()) return() Rcmdr - options()$Rcmdr plugins - Rcmdr$plugins if ((!pkgname %in% plugins) !getRcmdr(autoRestart)) { Rcmdr$plugins - c(plugins, pkgname) options(Rcmdr=Rcmdr) closeCommander(ask=FALSE, ask.save=TRUE) Commander() } } I am not exactly sure how to proceed--I appreciate any suggestions. AC __ 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.
Re: [R] R-Commander plug-in difficulties
Your package (RcmdrPlugin.MAc on CRAN) does not depend on Rcmdr. I suppose you mean the getRcmdr in Rcmdr, and that will be not available when your package is loaded in a vanilla session. My guess is that you intended such a dependence (in the Depends line in the DESCRIPTION file). It passed the checks because the line if (!interactive()) return() ensured that they did nothing at all. I am also guessing that you did manual checks in an interactive session with Rcmdr already loaded. On Mon, 15 Feb 2010, AC Del Re wrote: Hi All, I have recently created an Rcmdr plugin package and it passed all the checks and was uploaded to CRAN. I then downloaded it from CRAN and tried running it from my local R program and received this error: ... Error in f(libname, pkgname) : could not find function getRcmdr Error in library(pkg, character.only = TRUE) : .First.lib failed for 'RcmdrPlugin.MAc' In my .R file with all the relevant functions that are read into the package, I have placed this at the top, which seems to be related to one of the sources of error (?): .packageName - RcmdrPlugin.MAc .First.lib - function(libname, pkgname){ if (!interactive()) return() Rcmdr - options()$Rcmdr plugins - Rcmdr$plugins if ((!pkgname %in% plugins) !getRcmdr(autoRestart)) { Rcmdr$plugins - c(plugins, pkgname) options(Rcmdr=Rcmdr) closeCommander(ask=FALSE, ask.save=TRUE) Commander() } } I am not exactly sure how to proceed--I appreciate any suggestions. AC -- Brian D. Ripley, rip...@stats.ox.ac.uk Professor of Applied Statistics, http://www.stats.ox.ac.uk/~ripley/ University of Oxford, Tel: +44 1865 272861 (self) 1 South Parks Road, +44 1865 272866 (PA) Oxford OX1 3TG, UKFax: +44 1865 272595 __ 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.
Re: [R] R commander.
thank u so much for ur help,,i have tried it before,,and succeded to do so,,the problem is that, in the next stage of the package i am facing a problem which i dont know how to fix,,,i am useing cnvpack ( http://www.meb.ki.se/~yudpaw/) and in the following command i get an error,,which is.. cnvr-setreg(out,anno.list= myann,pheno.data= mypheno,high.conf= NA,LIM= 2,method= COVER, cnv.abnormality= both) Error in setreg(out, anno.list = myann, pheno.data = mypheno, high.conf = NA, : NAs in foreign function call (arg 4) i then manipulate my data (out) and made high.conf=0, then it shows me this error... cnvr-setreg(out,anno.list= myann,pheno.data= mypheno,high.conf=0,LIM= 2,method= COVER, cnv.abnormality= both) Error in st[ii]:en[ii] : NA/NaN argument Ilyas On Tue, Oct 13, 2009 at 1:32 AM, joris meys jorism...@gmail.com wrote: As the error says, you have different row numbers in your variables. The variable $Chromosome has no values. try : ann - data.frame( ann [-3] ) Cheers Joris On Mon, Oct 12, 2009 at 8:29 AM, Ilyas . mykh...@gmail.com wrote: i have two RData files,,i want to print them to check the format of the tables in these files,,,i can load both the files and can read it as well load('ann.RData') str(ann) List of 4 $ Name : chr [1:561466] rs3094315 rs12562034 rs3934834 rs9442372 ... $ Position : int [1:561466] 742429 758311 995669 1008567 1011278 1011521 1020428 1021403 1038818 1039813 ... $ Chromosome: chr(0) $ Chr.num : num [1:561466] 1 1 1 1 1 1 1 1 1 1 ... but when i try to display all the table by using the R commander.i have got the display of 'pheno.RData' file,,but the other file 'ann.RData' show me an error i.e. ann - as.data.frame(ann) Error in data.frame(Name = c(rs3094315, rs12562034, rs3934834, rs9442372, : arguments imply differing number of rows: 561466, 0 i am sending you both files,,,hope u will help me solve this problm Ilyas __ 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.htmlhttp://www.r-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code. [[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.
[R] R commander.
i have two RData files,,i want to print them to check the format of the tables in these files,,,i can load both the files and can read it as well load('ann.RData') str(ann) List of 4 $ Name : chr [1:561466] rs3094315 rs12562034 rs3934834 rs9442372 ... $ Position : int [1:561466] 742429 758311 995669 1008567 1011278 1011521 1020428 1021403 1038818 1039813 ... $ Chromosome: chr(0) $ Chr.num : num [1:561466] 1 1 1 1 1 1 1 1 1 1 ... but when i try to display all the table by using the R commander.i have got the display of 'pheno.RData' file,,but the other file 'ann.RData' show me an error i.e. ann - as.data.frame(ann) Error in data.frame(Name = c(rs3094315, rs12562034, rs3934834, rs9442372, : arguments imply differing number of rows: 561466, 0 i am sending you both files,,,hope u will help me solve this problm Ilyas __ 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.
Re: [R] R commander.
You seem to have gotten an extraneous list item called Chromosome to which an empty string has been assigned. What happens if you issue this command: ann2 - data.frame( Name=ann$Name, Position=ann$Position, Chr.num=factor(ann$Chr.num) ) (I took the liberty of making Chr.num into a factor.) And then print out smaller segments of ann2 (since what you have would take many hundreds of pages. ann2[ , 1:60] -- David On Oct 12, 2009, at 2:29 AM, Ilyas . wrote: i have two RData files,,i want to print them to check the format of the tables in these files,,,i can load both the files and can read it as well load('ann.RData') str(ann) List of 4 $ Name : chr [1:561466] rs3094315 rs12562034 rs3934834 rs9442372 ... $ Position : int [1:561466] 742429 758311 995669 1008567 1011278 1011521 1020428 1021403 1038818 1039813 ... $ Chromosome: chr(0) $ Chr.num : num [1:561466] 1 1 1 1 1 1 1 1 1 1 ... but when i try to display all the table by using the R commander.i have got the display of 'pheno.RData' file,,but the other file 'ann.RData' show me an error i.e. ann - as.data.frame(ann) Error in data.frame(Name = c(rs3094315, rs12562034, rs3934834, rs9442372, : arguments imply differing number of rows: 561466, 0 i am sending you both files,,,hope u will help me solve this problm Ilyas __ 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. David Winsemius, MD Heritage Laboratories West Hartford, CT __ 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] R Commander question
Good afternoon New to R ... new to the list. I have installed R Commander 1.2-9 and it functions perfectly. I would, however, like to upgrade my Rcmdr to version 1.3-15 ... but I can't seem to shake the 1.2 version. Do you have any tips on how to upgrade? Thanks for your time and consideration Darin Brooks Geomatics/GIS/Remote Sensing Coordinator Kim Forest Management Ltd. Cranbrook Office Cranbrook, BC Checked by AVG. 5:58 PM [[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.
Re: [R] R Commander question
What OS? --- On Mon, 7/14/08, Darin Brooks [EMAIL PROTECTED] wrote: From: Darin Brooks [EMAIL PROTECTED] Subject: [R] R Commander question To: r-help@r-project.org Received: Monday, July 14, 2008, 1:56 PM Good afternoon New to R ... new to the list. I have installed R Commander 1.2-9 and it functions perfectly. I would, however, like to upgrade my Rcmdr to version 1.3-15 ... but I can't seem to shake the 1.2 version. Do you have any tips on how to upgrade? Thanks for your time and consideration Darin Brooks Geomatics/GIS/Remote Sensing Coordinator Kim Forest Management Ltd. Cranbrook Office Cranbrook, BC Checked by AVG. 5:58 PM [[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. __ [[elided Yahoo spam]] __ 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.
Re: [R] R Commander question
Windows XP Pro -Original Message- From: John Kane [mailto:[EMAIL PROTECTED] Sent: Monday, July 14, 2008 2:57 PM To: r-help@r-project.org; Darin Brooks Subject: Re: [R] R Commander question What OS? --- On Mon, 7/14/08, Darin Brooks [EMAIL PROTECTED] wrote: From: Darin Brooks [EMAIL PROTECTED] Subject: [R] R Commander question To: r-help@r-project.org Received: Monday, July 14, 2008, 1:56 PM Good afternoon New to R ... new to the list. I have installed R Commander 1.2-9 and it functions perfectly. I would, however, like to upgrade my Rcmdr to version 1.3-15 ... but I can't seem to shake the 1.2 version. Do you have any tips on how to upgrade? Thanks for your time and consideration Darin Brooks Geomatics/GIS/Remote Sensing Coordinator Kim Forest Management Ltd. Cranbrook Office Cranbrook, BC Checked by AVG. 5:58 PM [[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. __ Yahoo! Canada Toolbar: Search from anywhere on the web, and bookmark your favourite sites. Download it now at http://ca.toolbar.yahoo.com. No virus found in this incoming message. Checked by AVG. 5:58 PM Checked by AVG. 5:58 PM __ 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.
Re: [R] R-Commander - pie charts menu blinded out
John Fox wrote: 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!) Perhaps stating the obvious: That remark was intended as tongue-in-cheek Apart from protecting people from doing foolish things (there's a famous quote about that, though), there's also the aspect that an interface gets simpler if you reduce the number of choices. So of course it is a valid design decision. -p -- 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.
Re: [R] R-Commander - pie charts menu blinded out
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.