Re: [Rd] vcov and survival

2017-11-02 Thread Fox, John
Dear Martin, Thank you for taking care of this. Best, John > -Original Message- > From: Martin Maechler [mailto:maech...@stat.math.ethz.ch] > Sent: Thursday, November 2, 2017 4:59 PM > To: Fox, John > Cc: Martin Maechler ; Therneau, Terry M., > Ph.D. ; r-devel@r-project.org > Subject:

Re: [Rd] vcov and survival

2017-11-02 Thread Martin Maechler
> Fox, John > on Thu, 14 Sep 2017 13:46:44 + writes: > Dear Martin, I made three points which likely got lost > because of the way I presented them: > (1) Singularity is an unusual situation and should be made > more prominent. It typically reflects a problem with

Re: [Rd] Bug in model.matrix.default for higher-order interaction encoding when specific model terms are missing

2017-11-02 Thread Tyler
Hi Arie, The book out of which this behavior is based does not use factor (in this section) to refer to categorical factor. I will again point to this sentence, from page 40, in the same section and referring to the behavior under question, that shows F_j is not limited to categorical factors: "Nu

Re: [Rd] Memory address of character datatype

2017-11-02 Thread peter dalgaard
I'm not really disagreeing with this, but is not the point of pryr to let you investigate internals from the R level? Building code that relies on pryr returning things with specific properties is very likely doubleplusunrecommended by pryr's author as well. In that spirit, I suppose that you

Re: [Rd] Memory address of character datatype

2017-11-02 Thread Tomas Kalibera
If you were curious about the hidden details of the memory layout in R, the best reference is the source code. In your example, you are not getting to your string because there is one more pointer in the way, "x" is a vector of strings, each string is represented by a pointer. At C level, ther