Re: [Rd] nobs.glm

2012-04-25 Thread Wincent
Thanks, Professor Ripley. It helps a lot. As a follow-up question, is there any recommended references I can look into to figure out the interpretation of "weights" for various families? Thanks very much in advance Best regards Ronggui On 24 April 2012 21:56, Prof Brian Ripley wrote: > On 24/0

[Rd] delayedAssign changing values

2012-04-25 Thread McGehee, Robert
I'm not sure if this is a known peculiarity or a bug, but I stumbled across what I think is very odd behavior from delayedAssign. In the below example x switches values the first two times it is evaluated. > delayedAssign("x", {x <- 2; x+3}) > x==x [1] FALSE > delayedAssign("x", {x <- 2; x+3})

[Rd] checkPoFiles function added to R-devel

2012-04-25 Thread Duncan Murdoch
I've just added a couple of functions to the tools package to check for bad format strings in the .po files that translators produce. See ?tools::checkPoFiles for the docs. They detect cases where the translation has different format conversions than the original English message. This isn't

Re: [Rd] Strange behavior of model.frame() when given subset

2012-04-25 Thread Liaw, Andy
Never mind. Found the problem: The package has been missing a subset method for the "lp" class since [...]. Adding "[.lp" solved the problem. Cheers, Andy -Original Message- From: r-devel-boun...@r-project.org [mailto:r-devel-boun...@r-project.org] On Behalf Of Liaw, Andy Sent: Wedne

[Rd] Strange behavior of model.frame() when given subset

2012-04-25 Thread Liaw, Andy
Dear R-devel, I recent got a bug report from a locfit user about the use of the subset argument when calling locfit(). Basically the symptom is that the following two calls should produce the same result, but they don't: locfit(y ~ lp(x, h=1), data=subset(dat, x > 1)) locfit(y ~ lp(x, h=1), da

[Rd] Strange bug in my package

2012-04-25 Thread ONKELINX, Thierry
Dear all, I get a bug in the examples of my AFLP package on R-forge (https://r-forge.r-project.org/R/?group_id=1027) but only on the Linux version. The windows version compiles. The Mac version skips the examples and compiles. The strange thing is that the packages compiles on my Ubuntu 10.10 m