[Rd] Using response variable in interaction as explanatory variable in glm crashes R

2017-10-06 Thread Jan van der Laan
The following code crashes R (I know I shouldn't try to estimate such a model; this was a bug in some code of mine). I also tried with R-devel; same result. tab <- structure(list(dob_day = c(FALSE, FALSE, FALSE, FALSE, TRUE, TRUE, TRUE, TRUE), dob_mon = c(FALSE, FALSE, TRUE, TRUE, FALSE, FAL

Re: [Rd] Using response variable in interaction as explanatory variable in glm crashes R

2017-10-06 Thread Jan van der Laan
It is actually model.matrix that crashes, not glm. Same crash occurs with e.g. lm. model.matrix(dob_mon ~ dob_day*dob_mon, data = tab) also crashes R. Jan On 06-10-17 12:08, Jan van der Laan wrote: The following code crashes R (I know I shouldn't try to estimate such a model; this was a

[Rd] SIGSEGV during startup

2017-10-06 Thread Joshua Ulrich
Hi, This problem started as of r73472 ("Merged in the rest of the basic ALTREP framework."); I tested r73471 and it did not exist. I'm building R devel on Ubuntu 16.04.3 LTS (64-bit), with the following flags: CC="gcc -std=gnu99 -fsanitize=address -fno-omit-frame-pointer" CFLAGS="-fno-omit-fr

Re: [Rd] SIGSEGV during startup

2017-10-06 Thread luke-tierney
Thanks -- should be resolved now. Best, luke On Fri, 6 Oct 2017, Joshua Ulrich wrote: Hi, This problem started as of r73472 ("Merged in the rest of the basic ALTREP framework."); I tested r73471 and it did not exist. I'm building R devel on Ubuntu 16.04.3 LTS (64-bit), with the following fl