[Rd] Named capture in regexp

2011-02-25 Thread Toby Dylan Hocking
Dear R core developers, One feature from Python that I have been wanting in R is the ability to capture groups in regular expressions using names. Consider the following example in R. > notables <- c(" Ben Franklin and Jefferson Davis","\tMillard Fillmore") > name.rex <- "(?[A-Z][a-z]+) (?[A-Z][

[Rd] Small enhancement for CMD check

2011-02-25 Thread Terry Therneau
It would be nice if the 00check.log file also included this part of the output: Running ‘bladder.R’ Comparing ‘bladder.Rout’ to ‘bladder.Rout.save’ ... OK Running ‘book1.R’ Comparing ‘book1.Rout’ to ‘book1.Rout.save’ ... OK Running ‘book2.R’ Comparing ‘book2.Rout’ to ‘book2.Rout.save’

Re: [Rd] R CMD build error (RProtoBuf on windows)

2011-02-25 Thread Prof Brian Ripley
On Fri, 25 Feb 2011, Koert Kuipers wrote: Hello all, I am trying to port the package RProtoBuf to windows. The developers of RProtoBuf have given me some helpful pointers so far, but now I am stuck. After having made what I think are the necessary changes to the package to compile on windows,

[Rd] R CMD build error (RProtoBuf on windows)

2011-02-25 Thread Koert Kuipers
Hello all, I am trying to port the package RProtoBuf to windows. The developers of RProtoBuf have given me some helpful pointers so far, but now I am stuck. After having made what I think are the necessary changes to the package to compile on windows, "R CMD build RProtoBuf" outputs a somewhat c

Re: [Rd] Sexpr problem

2011-02-25 Thread Duncan Murdoch
On 25/02/2011 12:16 AM, robin hankin wrote: Hi. I am having difficulty making \Sexpr work as desired. Specifically, the pdf and the text versions of the help system differ, and I can't reproduce the example on page 63 of the R Journal article by Murdoch and Urbanek (Vol 1/2, December 2009).

[Rd] Sexpr problem

2011-02-25 Thread robin hankin
Hi. I am having difficulty making \Sexpr work as desired. Specifically, the pdf and the text versions of the help system differ, and I can't reproduce the example on page 63 of the R Journal article by Murdoch and Urbanek (Vol 1/2, December 2009). Is there an example package that I could exam