Re: [Rd] encoding argument of source() in 3.5.0

2018-06-03 Thread peter dalgaard
Looks like this actually comes from readLines(), nothing to do with source() as such: In current R-devel (still): > f <- file("http://home.versanet.de/~s-berman/source2.R";, encoding="UTF-8") > readLines(f) character(0) > close(f) > f <- file("http://home.versanet.de/~s-berman/source2.R";) > rea

[Rd] aic() component in GLM-family objects

2018-06-03 Thread Ben Bolker
Is it generally known/has it been previously discussed here that the $aic() component in GLM-family objects (e.g. results of binomial(), poisson(), etc.) does not as implemented actually return the AIC, but rather -2*log-likelihood + 2*(model_has_scale_parameter) ? Can anyone in this forum gau