В Sat, 12 Nov 2022 20:04:57 +
Giovanni Petris пишет:
> The problem is that the C code modifies elements of the list so that,
> after the R function returns, I end up with a modified version of the
> list argument. I believe passing to the function a deep copy of the
> list argument would solv
Or modifying the C code to conform with the usual functional copy-on-write
paradigm used throughout most of R.
On November 12, 2022 12:04:57 PM PST, Giovanni Petris wrote:
>Hello everybody,
>
>Does anybody know how to obtain a deep copy of a list?
>
>The context is the following. I am passing a
Hello everybody,
Does anybody know how to obtain a deep copy of a list?
The context is the following. I am passing a list to a function which, in turn,
passes it to compiled C code via .Call. The problem is that the C code modifies
elements of the list so that, after the R function returns, I e
Hi George,
I did not get an attachment.
My first step would be to try simplifying things. Do all of these work?
fit_1=glm(Base[,2]~Base[,1],family=binomial(link="logit"))
fit_1=glm(Base[,2]~Base[,10],family=binomial(link="logit"))
fit_1=glm(Base[,2]~Base[,11],family=binomial(link="logit"))
f
4 matches
Mail list logo