[Rd] help text for ave()

2009-01-15 Thread Henrik Parn
Dear R developers, In the help text for ave() you can read in Arguments section: "... Grouping variables, typically factors, all of the same length as x" ...and in Value: "If ... is g1,g2,". I think a description in the Arguments section of how two or more grouping variables is specified toge

[Rd] script window background and text color (PR#13446)

2009-01-15 Thread alexios
Full_Name: alexios galanos Version: 2.8.1 OS: windows/vista Submission from: (NULL) (81.100.160.71) While the script editor now respects user preferences for the background color in 2.8.1, it does not do so for the user text color defaulting to black. So my preference of having for example black

Re: [Rd] interrupting R from a GUI

2009-01-15 Thread Prof Brian Ripley
On Fri, 16 Jan 2009, Felix Andrews wrote: list(...), I am looking for a way to interrupt R from a callback: specifically, to interrupt plotting (typically on a cairoDevice, but would be good if it worked with other devices too). Of course, one can interrupt R nicely from the console with Ctrl-C

[Rd] interrupting R from a GUI

2009-01-15 Thread Felix Andrews
list(...), I am looking for a way to interrupt R from a callback: specifically, to interrupt plotting (typically on a cairoDevice, but would be good if it worked with other devices too). Of course, one can interrupt R nicely from the console with Ctrl-C (or Esc in Rgui), but I need to do it from a

Re: [Rd] Documentation suggestions for vignettes

2009-01-15 Thread Gabor Grothendieck
I find this very confusing too. I would also sometimes like to include pdf's that were not generated from Sweave and have them included in the package and listed in library(help = mypackage) output as well as with clickable links on the package's CRAN web page like vignettes are. On Thu, Jan 15,

Re: [Rd] Documentation suggestions for vignettes

2009-01-15 Thread Perry de Valpine
Thanks for the helpful replies. Regarding the source: I see that in /grid/inst/doc there are no pdfs and no index.html, so that confirms that index.html is generated by the \VignetteIndexEntry method using Snw/Rnw when the grid package is built. That is helpful for me but not the main

Re: [Rd] Documentation suggestions for vignettes

2009-01-15 Thread Simon Urbanek
On Jan 15, 2009, at 12:24 , Perry de Valpine wrote: I am looking at the 2.8.1 source code in R-2.8.1/src/library/grid/ inst/doc, where there is an index.html (I am not at daily syncing level and hope that is not an issue in this case). In this case the Snw files contain the %\VignetteIndexEntr

Re: [Rd] [Q] R CMD check signals error on code that works from UI

2009-01-15 Thread Peter Dalgaard
Sklyar, Oleg (London) wrote: > Because there is a % sign, which is stripped out by LaTeX used to build > the help system as a comment. Just look at how your example code is > output -- the string is unterminated because the matching quote is > masked by % latex comment Minor quibble: Actually, LaT

Re: [Rd] [Q] R CMD check signals error on code that works from UI

2009-01-15 Thread Sklyar, Oleg (London)
Because there is a % sign, which is stripped out by LaTeX used to build the help system as a comment. Just look at how your example code is output -- the string is unterminated because the matching quote is masked by % latex comment Dr Oleg Sklyar Research Technologist AHL / Man Investments Ltd +4

[Rd] [Q] R CMD check signals error on code that works from UI

2009-01-15 Thread Paul Roebuck
Add the following to example section of a dot-Rd manpage: ## :WHY: The following kills R CMD check but runs fine on console. foos <- c("aaa", "bbb", "ccc") cat(sapply(foos, function(foo) { sprintf("name: %-18s upper: %s\n", foo,

Re: [Rd] Documentation suggestions for vignettes

2009-01-15 Thread Gabor Grothendieck
The source tree is at: https://svn.r-project.org/R/trunk and the src/library/grid subdirectory holds grid. To check out a copy using svn see the "svn checkout ..." command described here: http://developer.r-project.org/ On Thu, Jan 15, 2009 at 12:24 PM, Perry de Valpine wrote: > I am look

Re: [Rd] Documentation suggestions for vignettes

2009-01-15 Thread Perry de Valpine
(Apologies for re-posting this from a few minutes ago. My message was scrubbed and I hope I've done it right now...) I am looking at the 2.8.1 source code in R-2.8.1/src/library/grid/ inst/doc, where there is an index.html (I am not at daily syncing level and hope that is not an issue in th

Re: [Rd] Documentation suggestions for vignettes

2009-01-15 Thread Perry de Valpine
I am looking at the 2.8.1 source code in R-2.8.1/src/library/grid/ inst/doc, where there is an index.html (I am not at daily syncing level and hope that is not an issue in this case). In this case the Snw files contain the %\VignetteIndexEntry and associated commands, so the index.html coul

[Rd] doc buglet / relist method

2009-01-15 Thread Paul Roebuck
Under Details section for relist: objects into a vector representation. \code{relist()}, it's methods and * [GRAMMAR] Don't use apostrophes for possessive pronouns. R version 2.7.2 (2008-08-25) -- and --

Re: [Rd] Documentation suggestions for vignettes

2009-01-15 Thread Gabor Grothendieck
On Wed, Jan 14, 2009 at 2:53 PM, Perry de Valpine wrote: > Dear R-devel, > > I am putting together a package vignette for the first time (R 2.8.1, > OS X) and had some bumps from section 1.4 ("Writing package > vignettes") of the "Writing R Extensions" document. Here are > suggestions to clean up

Re: [Rd] More intensive checking of R help files

2009-01-15 Thread Prof Brian Ripley
On Thu, 15 Jan 2009, Henrik Bengtsson wrote: Hi, this sounds all good. One comment below: On Fri, Jan 9, 2009 at 1:25 AM, Prof Brian Ripley wrote: We have been working on handling Rd (R help) files with R rather than Perl scripts. As part of that work, Duncan has written a parser which ha

Re: [Rd] More intensive checking of R help files

2009-01-15 Thread Henrik Bengtsson
Hi, this sounds all good. One comment below: On Fri, Jan 9, 2009 at 1:25 AM, Prof Brian Ripley wrote: > > We have been working on handling Rd (R help) files with R rather than Perl > scripts. As part of that work, Duncan has written a parser which has > revealed many problems in package help f