Displaying 5 results from an estimated 5 matches for "r_new_custom_connection".
2017 Jun 12
1
Custom connections
...-level R-internal getConnection() entry point should
> switch to the official API.
However, from today, the R 3.3.0 NEWS item reads somewhat differently:
https://github.com/wch/r-source/commit/7e9889fa9bb9269ffadfe67f3ded4bdca51b8ed9
And perhaps more importantly, R CMD check gives a NOTE about
R_new_custom_connection and some other connection related functions
now:
https://github.com/wch/r-source/commit/e55605767570fc424b6c281e0b7489e8dc77b53f
I am not sure what this means for package authors.
Can package authors use R_new_custom_connection to create custom connections?
If not, is there another way to create...
2020 May 06
2
defining r audio connections
yep, you're right, after some initial clean-up and running with or without --as-cran R CMD check gives a NOTE
* checking compiled code
File ?socketeer/libs/socketeer.so?:
Found non-API calls to R: ?R_GetConnection?,
?R_new_custom_connection?
Compiled code should not call non-API entry points in R.
See 'Writing portable packages' in the 'Writing R Extensions' manual.
Connections in general seem more useful than ad-hoc functions, though perhaps for Frederick's use case Duncan's suggestion is sufficie...
2020 May 07
1
defining r audio connections
...p, you're right, after some initial clean-up and running with or
> without
> > --as-cran R CMD check gives a NOTE
> >
> > * checking compiled code
> > File ?socketeer/libs/socketeer.so?:
> > Found non-API calls to R: ?R_GetConnection?,
> > ?R_new_custom_connection?
> >
> > Compiled code should not call non-API entry points in R.
> >
> > See 'Writing portable packages' in the 'Writing R Extensions' manual.
> >
> > Connections in general seem more useful than ad-hoc functions, though
> > perhaps for...
2020 May 07
0
defining r audio connections
...oc at gmail.com> wrote:
> yep, you're right, after some initial clean-up and running with or without
> --as-cran R CMD check gives a NOTE
>
> * checking compiled code
> File ?socketeer/libs/socketeer.so?:
> Found non-API calls to R: ?R_GetConnection?,
> ?R_new_custom_connection?
>
> Compiled code should not call non-API entry points in R.
>
> See 'Writing portable packages' in the 'Writing R Extensions' manual.
>
> Connections in general seem more useful than ad-hoc functions, though
> perhaps for Frederick's use case Duncan...
2020 May 06
2
defining r audio connections
The public connection API is defined in
https://github.com/wch/r-source/blob/trunk/src/include/R_ext/Connections.h
I'm not sure of a good pedagogic example; people who want to write their own connections usually want to do so for complicated reasons!
This is my own abandoned attempt