search for: dswitch_to_refcnt

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

2019 Nov 24
3
switch to reference counting in R-devel
...ress for a number of years. Some older notes on this are available at http://developer.r-project.org/Refcnt.html. These may no longer be completely accurate but should give you an idea of what is going on. If you want to test your package under reference counting you can do so by building R with -DSWITCH_TO_REFCNT added to CFLAGS or DEFS in a config.site file. A small number of packages are still using the NAMED or SET_NAMED functions even though this has been discouraged for some time. For now these will not produce errors but also not do anything useful. They will probably be removed before R 4.0.0 is re...
2019 Dec 03
1
switch to reference counting in R-devel
...his are available at > > http://developer.r-project.org/Refcnt.html. These may no longer be > > completely accurate but should give you an idea of what is going on. > > > > If you want to test your package under reference counting you can do > > so by building R with -DSWITCH_TO_REFCNT added to CFLAGS or DEFS in a > > config.site file. > > > > A small number of packages are still using the NAMED or SET_NAMED > > functions even though this has been discouraged for some time. > > For now these will not produce errors but also not do anything useful. &...
2019 Dec 03
0
switch to reference counting in R-devel
...rs. Some older notes on this are available at > http://developer.r-project.org/Refcnt.html. These may no longer be > completely accurate but should give you an idea of what is going on. > > If you want to test your package under reference counting you can do > so by building R with -DSWITCH_TO_REFCNT added to CFLAGS or DEFS in a > config.site file. > > A small number of packages are still using the NAMED or SET_NAMED > functions even though this has been discouraged for some time. > For now these will not produce errors but also not do anything useful. > They will probably be...
2018 Sep 05
4
True length - length(unclass(x)) - without having to call unclass()?
The bottomline here is that one can always call a base method, inexpensively and without modifying the object, in, let's say, *formal* OOP languages. In R, this is not possible in general. It would be possible if there was always a foo.default, but primitives use internal dispatch. I was wondering whether it would be possible to provide a super(x, n) function which simply causes the