Re: [R] Help with Help on Windows
On 11/01/2013 12:49 PM, Ross Boylan wrote: R 2.15.2 installed as a regular user on Windows 7. Three issues: 1. There is a start menu item for R 2.15.2 Help that opens a local web page. If I click on packages, then base, then abbreviate I get Firefox can't find the file at /C:/Users/rdboylan/Documents/R/R-2.15.2/library/base/html/abbreviate.html. The page before, which did display, was file:///C:/Users/rdboylan/Documents/R/R-2.15.2/library/base/html/00Index.html (the link that fails is being tried with the same file:///C:/ start, despite the text in the error message). Is this a bug? Is there a way I can fix it? That's a bug, that start menu item should not have been installed. You can't view the help unless R is running, because it is being generated dynamically. You could create a shortcut with something like R HOME\bin\x64\Rterm.exe -e {help.start(); Sys.sleep(1000)} as the command, and set it to display minimized; it would run for 1000 seconds before it died. I don't think this is a great solution because it leaves that Rterm process sitting there, but maybe some variation on this would do what you want. I will remove the code that generates the bad Start Menu entry from the installer. 2. ?'' produces No documentation for in the specified packages and libraries. This used to work. Is this failure expected? Actually, I just discovered it works from the main R application. The failure is from ESS 12.09-1 on emacs 24.2.1, both of which were the latest as of last week. This seems like a bug report to send to the ESS list. 3. Are the manuals available as info files (for use in emacs) anymore? I notice the FAQ (2.7 What documentation exists for R?) does not list it. Those aren't distributed, but you could probably build them yourself if you get the source, as the originals are still in *.texi format. The Windows makefiles don't have targets for them, but if you have the tools, the Unix makefiles should give you the right incantations. Duncan Murdoch __ 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] Help with Help on Windows
Thanks to Duncan for all his help. I have one tip to pass on. On 1/11/2013 10:34 AM, Duncan Murdoch wrote: On 11/01/2013 12:49 PM, Ross Boylan wrote: R 2.15.2 installed as a regular user on Windows 7. Three issues: 1. There is a start menu item for R 2.15.2 Help that opens a local web page. If I click on packages, then base, then abbreviate I get Firefox can't find the file at /C:/Users/rdboylan/Documents/R/R-2.15.2/library/base/html/abbreviate.html. The page before, which did display, was file:///C:/Users/rdboylan/Documents/R/R-2.15.2/library/base/html/00Index.html (the link that fails is being tried with the same file:///C:/ start, despite the text in the error message). Is this a bug? Is there a way I can fix it? That's a bug, that start menu item should not have been installed. You can't view the help unless R is running, because it is being generated dynamically. You could create a shortcut with something like R HOME\bin\x64\Rterm.exe -e {help.start(); Sys.sleep(1000)} as the command, and set it to display minimized; it would run for 1000 seconds before it died. I don't think this is a great solution because it leaves that Rterm process sitting there, but maybe some variation on this would do what you want. I will remove the code that generates the bad Start Menu entry from the installer. Running help.start() from my ESS session seems to work well. It's basically running all the time anyway. Of course, it's usually easier to to ?someFunction to get help with an individual function. Ross __ 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] Help with Help
On 02.02.2011 21:15, John Filben wrote: I have recently been reading several books on data mining which contain a few data sets. The books offer some perspective on model choices, tuning decisions, result interpretation. Are there any good resources that can walk me through the thought process of an experienced data miner with the datasets that are included for packages such as rpart kmeans. kmeans is not a package - at least not on CRAN. I guess you are talking about a kmeans function in anotehr package. I think you should read two kinds of books: 1. books about the methodology and 2. book about using R. If you understood both, it is not too hard to put the two things together. There is a web page for R related book at http://www.r-project.org/ I currently use MS Access VBA for a bulk of my data manipulation and then use R Commander and Rattle for my statistical analysis. Thank you. Many of us will certainly think that neither MS Access VBA nor the R Commander (the latter is really nice for teaching certain kinds of non-statistics students) will be used by an experienced data miner. Best, Uwe Ligges Regards, John John Filben Cell Phone - 773.401.2822 Email - johnfil...@yahoo.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] help with help()
On Oct 28, 2010, at 1:20 PM, claudia tebaldi wrote: Hi all Just this morning I upgraded to R 2.12.0 (for Mac OS X 10.6.4). All went well until I needed to run a help() or help.search() in my session, which I'm running within Emacs (ESS 5.3.7). Say I need help with the command 'density'. When I type help(density) or ?density the ESS help buffer opens, it is titled *help[R](density)* but it contains only a couple of lines saying, e.g., Error in help(density, htmlhelp = FALSE) : unused argument(s) (htmlhelp = FALSE) This is a problem only running R within emacs. The command help() works fine if I run R at the command line in a terminal window or if I use the stand-alone R application. Thank you in advance Claudia Put the following in your ~/.emacs file: (setq inferior-ess-r-help-command help(\%s\, help_type=\html\)\n) You might also want to update to ESS 5.11: http://ess.r-project.org/index.php?Section=download or consider using Vincent Goulet's pre-packaged Emacs 23/ESS install: http://vgoulet.act.ulaval.ca/en/ressources/emacs/mac HTH, Marc Schwartz __ 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] help with help()
On Oct 28, 2010, at 1:32 PM, Marc Schwartz wrote: On Oct 28, 2010, at 1:20 PM, claudia tebaldi wrote: Hi all Just this morning I upgraded to R 2.12.0 (for Mac OS X 10.6.4). All went well until I needed to run a help() or help.search() in my session, which I'm running within Emacs (ESS 5.3.7). Say I need help with the command 'density'. When I type help(density) or ?density the ESS help buffer opens, it is titled *help[R](density)* but it contains only a couple of lines saying, e.g., Error in help(density, htmlhelp = FALSE) : unused argument(s) (htmlhelp = FALSE) This is a problem only running R within emacs. The command help() works fine if I run R at the command line in a terminal window or if I use the stand-alone R application. Thank you in advance Claudia Put the following in your ~/.emacs file: (setq inferior-ess-r-help-command help(\%s\, help_type=\html\)\n) You might also want to update to ESS 5.11: http://ess.r-project.org/index.php?Section=download or consider using Vincent Goulet's pre-packaged Emacs 23/ESS install: http://vgoulet.act.ulaval.ca/en/ressources/emacs/mac One quick additional note. The above .emacs inclusion requires ESS 5.5 or greater. So you will definitely need to update. 5.3.7 is over two years old. Marc __ 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] help with help()
Hi, Is it possible to upgrade your version of Emacs and ESS (ESS is up to 5.11)? The official website for ESS is: http://ess.r-project.org/ Vincent Goulet also maintains a nice distribution of the latest Emacs bundled with AUCTeX and ESS for Mac at: http://vgoulet.act.ulaval.ca/en/ressources/emacs/mac It is very easy to install :) I am not sure that there is an htmlhelp argument anymore. Cheers, Josh On Thu, Oct 28, 2010 at 11:20 AM, claudia tebaldi claudia.teba...@gmail.com wrote: Hi all Just this morning I upgraded to R 2.12.0 (for Mac OS X 10.6.4). All went well until I needed to run a help() or help.search() in my session, which I'm running within Emacs (ESS 5.3.7). Say I need help with the command 'density'. When I type help(density) or ?density the ESS help buffer opens, it is titled *help[R](density)* but it contains only a couple of lines saying, e.g., Error in help(density, htmlhelp = FALSE) : unused argument(s) (htmlhelp = FALSE) This is a problem only running R within emacs. The command help() works fine if I run R at the command line in a terminal window or if I use the stand-alone R application. Thank you in advance Claudia -- Claudia Tebaldi Research Scientist, Climate Central http://www.climatecentral.org [[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. -- Joshua Wiley Ph.D. Student, Health Psychology University of California, Los Angeles http://www.joshuawiley.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] help with help()
claudia tebaldi wrote: Hi all Just this morning I upgraded to R 2.12.0 (for Mac OS X 10.6.4). All went well until I needed to run a help() or help.search() in my session, which I'm running within Emacs (ESS 5.3.7). That's very old version of ESS, I have no problems with 2.12.0 with ESS 5.11 on Emacs 23.2 at home. Also, there is an ESS-help mailing list for ESS questions, usually very responsive and all the developers read it. Say I need help with the command 'density'. When I type help(density) or ?density the ESS help buffer opens, it is titled *help[R](density)* but it contains only a couple of lines saying, e.g., Error in help(density, htmlhelp = FALSE) : unused argument(s) (htmlhelp = FALSE) This is a problem only running R within emacs. The command help() works fine if I run R at the command line in a terminal window or if I use the stand-alone R application. Thank you in advance Claudia __ 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.