search for: r_forcesymbols

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

2024 May 30
1
How to call directly "dotTcl" C-function of the tcltk-package from the C-code of an external package?
....c =================================================================== --- library/tcltk/src/init.c (revision 84264) +++ library/tcltk/src/init.c (revision 84265) @@ -66,6 +66,6 @@ { R_registerRoutines(dll, CEntries, NULL, NULL, ExternEntries); R_useDynamicSymbols(dll, FALSE); - R_forceSymbols(dll, FALSE); + R_forceSymbols(dll, TRUE); } I don't know what that was all about, and I'm also a bit puzzled a) that the .External lookup is so slow that you need to bypass it (would have thought that the byte compiler could speed it up) b) that you don't use dotTclObjv and friend...
2024 May 28
1
How to call directly "dotTcl" C-function of the tcltk-package from the C-code of an external package?
I have a use case with tcltk-package where I need to repeatedly call Tcl/Tk functions very quickly. For such purpose, the standard R-interface turned out to be too slow, and better option has been to call package's C-function dotTcl directly from my own C-code. Before R 4.4.0 it was possible to use getNativeSymbolInfo("dotTcl","tcltk")$address (or
2023 Apr 21
0
[Rd] R 4.3.0 is released
...irectly on the citation.bibtex.max option, whereas in format.bibentry() the option no longer applies. * Attempting to use a character string naming a foreign function entry point in a foreign function call in a package will now signal an error if the packages has called R_forceSymbols to specify that symbols must be used. * An error in table() could permanently set options(warn=2) promoting all subsequent warnings to errors. * The sigma() function gave misleading results for binary GLMs. A new method for objects of class "glm" returns the s...
2023 Apr 21
0
[Rd] R 4.3.0 is released
...irectly on the citation.bibtex.max option, whereas in format.bibentry() the option no longer applies. * Attempting to use a character string naming a foreign function entry point in a foreign function call in a package will now signal an error if the packages has called R_forceSymbols to specify that symbols must be used. * An error in table() could permanently set options(warn=2) promoting all subsequent warnings to errors. * The sigma() function gave misleading results for binary GLMs. A new method for objects of class "glm" returns the s...