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]]
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 > > ClaudiaPut 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
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.tebaldi at 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 at r-project.org mailing list > https://stat.ethz.ch/mailman/listinfo/r-help > PLEASE do read the posting guide http://www.R-project.org/posting-guide.html > and provide commented, minimal, self-contained, reproducible code. >-- Joshua Wiley Ph.D. Student, Health Psychology University of California, Los Angeles http://www.joshuawiley.com/
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 >