Displaying 1 result from an estimated 1 matches for "mkext".
Did you mean:
kext
2017 Apr 14
2
potential bug in attribute handling for externalptr
Is the following expected behavior?
> mkext <- inline::cfunction(language="C", body='return
R_MakeExternalPtr(NULL, install("tag"), R_NilValue);')
> x <- mkext()
> y <- x
> attr(y, "foo") <- "bar"
> attributes(x)
$foo
[1] "bar"
I would expect that modifyi...