search for: davisvaughan

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

2020 Feb 03
1
ALTREP "wrapper" classes needs an Extract_subset method
...versight) with the ALTREP wrapper classes. The short form of this is that I believe that the wrapper classes need to override the default ALTREP `Extract_subset_method()` with a method that calls `Extract_subset()` on the "wrapped" object. I have a patch prepared here: https://github.com/DavisVaughan/r-source/pull/1 There is currently no call to `R_set_altvec_Extract_subset_method()` in the wrapper class init functions. This means that the default ALTREP method of `altvec_Extract_subset_default()` is called, which simply returns `NULL`. Consider what that means for an ALTREP compact integer s...
2020 Apr 17
2
Demo for linking native routines between R packages
Dear R developers, I want to advertise a small project for the educational purpose to show people how to link native routines. In R programming, we need to link to native routines in C, C++, or Fortran from the R environment. In most cases, the linking works within one package, namely the R code in a package calls the native code in the same package. This is not necessarily always the case.
2020 Apr 17
0
Demo for linking native routines between R packages
Nice David! I also wrote up something similar a little while back https://github.com/DavisVaughan/cexport -Davis On Fri, Apr 17, 2020 at 7:09 AM Zhang, Jitao David via R-devel < r-devel at r-project.org> wrote: > Dear R developers, > > I want to advertise a small project for the educational purpose to show > people how to link native routines. > > In R programming, we...
2020 Apr 17
3
Demo for linking native routines between R packages
...is apparently an issue, but I think we may find a solution there. Anyway, thanks a lot for sharing! Best wishes, David On Fri, Apr 17, 2020 at 3:12 PM Davis Vaughan <davis at rstudio.com> wrote: > Nice David! I also wrote up something similar a little while back > https://github.com/DavisVaughan/cexport > > -Davis > > On Fri, Apr 17, 2020 at 7:09 AM Zhang, Jitao David via R-devel < > r-devel at r-project.org> wrote: > >> Dear R developers, >> >> I want to advertise a small project for the educational purpose to show >> people how to link nati...