[Rd] accented charatchers in a package manual

2012-11-14 Thread Denis Talbot
Dear list, I am writing an R package manual and there is still a warning when I run "R CMD check" about "NON-ASCII contents without declared encoding". I do get the warning comes from an accent in the name of one of the author (Geneviève), but I can't find what I am supposed to do about it. I know

Re: [Rd] accented charatchers in a package manual

2012-11-14 Thread Duncan Murdoch
On 14/11/2012 9:22 AM, Denis Talbot wrote: Dear list, I am writing an R package manual and there is still a warning when I run "R CMD check" about "NON-ASCII contents without declared encoding". I do get the warning comes from an accent in the name of one of the author (Geneviève), but I can't f

Re: [Rd] accented charatchers in a package manual

2012-11-14 Thread Prof Brian Ripley
On 14/11/2012 15:24, Duncan Murdoch wrote: On 14/11/2012 9:22 AM, Denis Talbot wrote: Dear list, I am writing an R package manual and there is still a warning when I run "R CMD check" about "NON-ASCII contents without declared encoding". I do get the warning comes from an accent in the name of

[Rd] Typo in documentation for reshape?

2012-11-14 Thread Michael Dewey
When I go ?reshape I get told, amongst other things new.row.names logical; if TRUE and direction = "wide", create new row names in long format from the values of the id and time variables. This seems to me to be illogical, surely it should read direction = "long"? Reading the code and observi

Re: [Rd] Typo in documentation for reshape?

2012-11-14 Thread peter dalgaard
On Nov 14, 2012, at 19:15 , Michael Dewey wrote: > When I go ?reshape I get told, amongst other things > > new.row.names > logical; if TRUE and direction = "wide", create new row names in long format > from the values of the id and time variables. > > This seems to me to be illogical, surely i

Re: [Rd] Typo in documentation for reshape?

2012-11-14 Thread Michael Dewey
At 19:10 14/11/2012, peter dalgaard wrote: On Nov 14, 2012, at 19:15 , Michael Dewey wrote: > When I go ?reshape I get told, amongst other things > > new.row.names > logical; if TRUE and direction = "wide", create new row names in long format from the values of the id and time variables. > >

[Rd] bug with mapply() on an S4 object

2012-11-14 Thread Hervé Pagès
Hi, Starting with ordinary vectors, so we know what to expect: > mapply(function(x, y) {x * y}, 101:106, rep(1:3, 2)) [1] 101 204 309 104 210 318 > mapply(function(x, y) {x * y}, 101:106, 1:3) [1] 101 204 309 104 210 318 Now with an S4 object: setClass("A", representation(aa="intege