search for: l1399

Displaying 4 results from an estimated 4 matches for "l1399".

Did you mean: 1399
2019 May 16
3
ALTREP: Bug reports
...object. If we change n from 100 to 10 and check the internal again, alt2 will not get wrapped. This makes the problem even more difficult since we cannot predict when would the wrapper appear. Here is the source code for the wrapper: https://github.com/wch/r-source/blob/trunk/src/main/altclasses.c#L1399 Here is a working example if one can build the sharedObject package from https://github.com/Jiefei-Wang/sharedObject n=100 > x=runif(n) > so1=sharedObject(x,copyOnWrite = FALSE) > so2=so1 > so2[1]=10 > .Internal(inspect(so1)) > .Internal(inspect(so2)) Here is my session info:...
2019 May 16
3
ALTREP: Bug reports
...me, and any > code you write should hit these API entrypoints so that any code you write > does the same. > > Does that help? > > Best, > ~G > >> >> Here is the source code for the wrapper: >> https://github.com/wch/r-source/blob/trunk/src/main/altclasses.c#L1399 >> >> Here is a working example if one can build the sharedObject package from >> https://github.com/Jiefei-Wang/sharedObject >> >> n=100 >> > x=runif(n) >> > so1=sharedObject(x,copyOnWrite = FALSE) >> > so2=so1 >> > so2[1]=10 >&g...
2019 May 16
0
ALTREP: Bug reports
...ntly treat wrapped and non-wrapped objects the same, and any code you write should hit these API entrypoints so that any code you write does the same. Does that help? Best, ~G > > Here is the source code for the wrapper: > https://github.com/wch/r-source/blob/trunk/src/main/altclasses.c#L1399 > > Here is a working example if one can build the sharedObject package from > https://github.com/Jiefei-Wang/sharedObject > > n=100 > > x=runif(n) > > so1=sharedObject(x,copyOnWrite = FALSE) > > so2=so1 > > so2[1]=10 > > .Internal(inspect(so1)) > &gt...
2019 May 16
0
ALTREP: Bug reports
...it these API entrypoints so that any code you write >> does the same. >> >> Does that help? >> >> Best, >> ~G >> >>> >>> Here is the source code for the wrapper: >>> https://github.com/wch/r-source/blob/trunk/src/main/altclasses.c#L1399 >>> >>> Here is a working example if one can build the sharedObject package from >>> https://github.com/Jiefei-Wang/sharedObject >>> >>> n=100 >>> > x=runif(n) >>> > so1=sharedObject(x,copyOnWrite = FALSE) >>> > so2=so...