offsets again (PR#159)

jlindsey@alpha.luc.ac.be jlindsey@alpha.luc.ac.be
Wed, 7 Apr 1999 09:58:05 +0200


1. Try the following in 63.3

y <- rnorm(20)
y1 <- y[2:20]
y2 <- y[1:19]
summary(glm(y1~offset(y2)))
summary(glm(y1-y2~1))

Both are the same model, but the first gives the wrong s.e.
I don't believe this was a problem in 63.2

2. Besides the strsplit buffer, there appear to be other memory
problems causing seg faults. With vsize 12M in batch, I accumulated 9
glm objects in memory, then called one of my RM functions and
systematically got a seg fault. After much searching, I simply removed
the 9 objects before calling my function, the problem went away. This
did not occur in 63.2 but I have changed my function so that it now
uses strsplit and modifies function environments. However, in this
case, strsplit is not applied to any text that would cause buffer
overflow.
  Jim

-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-devel mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info", "help", or "[un]subscribe"
(in the "body", not the subject !)  To: r-devel-request@stat.math.ethz.ch
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._