[Rd] tapply on empty data.frames (PR#10644)

2008-01-27 Thread hilmar . berger
Full_Name: Hilmar Berger Version: 2.4.1/2.6.2alpha OS: WinXP Submission from: (NULL) (84.185.128.110) Hi all, If I use tapply on an empty data.frame I get an error. I'm not quite sure if one can actually expect the function to return with a result. However, the error message suggests that this c

Re: [Rd] Strict-prototypes definitions in R includes

2008-01-27 Thread Prof Brian Ripley
I think the answer is 'it depends'. - such prototypes are not required by C99. - using (void) is part of some authors' style and not of others. For the latter, this is not an 'oversight' but an uglification. - in some cases the omission is deliberate as the function is used for variable sets

Re: [Rd] seekViewport error

2008-01-27 Thread Paul Murrell
Hi Gabor Grothendieck wrote: > On Jan 23, 2008 9:38 PM, Paul Murrell <[EMAIL PROTECTED]> wrote: >> Hi >> >> >> Gabor Grothendieck wrote: >>> Why does the seekViewport at the bottom give an error? >> >> Because the viewport is popped after GRID.cellGrob.84 is drawn. >> >> grid.ls() shows the viewp

[Rd] Strict-prototypes definitions in R includes

2008-01-27 Thread Laurent Gautier
Dear list, Whenever the flag "-Wstrict-prototypes" is set in gcc, compiling code that includes headers in lib/R/include generates often warnings (example with R-2.6.1: Rinternals.h:560: warning: function declaration isn't a prototype ). All such warnings I looked at were about functions wit

[Rd] Character encodings and packages

2008-01-27 Thread Prof Brian Ripley
Since R 2.5.0 it has been possible to declare the encodings of character strings (at the level of individual elements of a character vector). As a reminder, here is the announcement in NEWS o R now attempts to keep track of character strings which are known to be in Latin-1 or UTF-8