Re: [Rd] Bug in tkStartGUI in package tcltk (PR#9396)

From: Peter Dalgaard <p.dalgaard_at_biostat.ku.dk>
Date: Wed 29 Nov 2006 - 00:12:01 GMT

jhallman@frb.gov wrote:
> Full_Name: Jeff Hallman
> Version: 2.4.0
> OS: Linux
> Submission from: (NULL) (132.200.32.34)
>
>
> When the R Internals manual was added to the list of manuals in tkStartGUI,
> whoever did it left an extra comma in the code. This creates an ugly warning
> when tkStartGUI is invoked. Here is a patch file to fix it:
>
> --- src/library/tcltk/R/tkGUI.R.orig 2006-11-21 15:15:52.000000000 -0500
> +++ src/library/tcltk/R/tkGUI.R 2006-11-21 15:16:40.000000000 -0500
> @@ -93,7 +93,7 @@
> "R-data", "R Data Import/Export",
> "R-exts", "Writing R extensions",
> "R-lang", "R Language Reference",
> - "refman", "R Reference Manual",
> + "refman", "R Reference Manual"
> ), ncol=2, byrow=TRUE)
>
> helpPDFMenu <- tkmenu(helpMenu)
>
Thanks. I think the extra comma has been there for a while, but c() has become more picky about missing args. (Another issue is that the actual manuals go walkabout in some binary distributions. E.g. FC6 has them in /usr/share/doc/R-2.4.0/ but the GUI looks for them in file.path(R.home("doc"), "manual"), which only has the HTML versions)



R-devel@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-devel Received on Thu Nov 30 15:10:47 2006

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.1.8, at Thu 30 Nov 2006 - 04:30:55 GMT.

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