This function allows us to query the set of routines
in a DLL that are registered with R to enhance
dynamic lookup, error handling when calling native routines,
and potentially security in the future.
This function provides a description of each of the
registered routines in the DLL for the different interfaces,
getDLLRegisteredRoutines(dll, addNames = TRUE)
a character string or
a logical value. If this is
This takes the registration information after it has been registered and processed by the R internals. In other words, it uses the extended information.
A list of class
"DLLRegisteredRoutines" with four elements
corresponding to the routines registered for the
.External interfaces. Each is
a list (of class
"NativeRoutineList") with as many elements as
there were routines registered for that interface.
Each element identifies a routine and is an object
An object of this class has the following fields:
the registered name of the routine (not necessarily the name in the C code).
the memory address of the routine as resolved in the
loaded DLL. This may be
an object of class
the number of arguments the native routine is to be called with.
Duncan Temple Lang email@example.com
‘Writing R Extensions’ manual for symbol registration.
Duncan Temple Lang (2001). “In Search of C/C++ & FORTRAN Routines”. R News, 1(3), 20–23. https://www.r-project.org/doc/Rnews/Rnews_2001-3.pdf.
getNativeSymbolInfo for information on the entry points listed.
dlls <- getLoadedDLLs() getDLLRegisteredRoutines(dlls[["base"]]) getDLLRegisteredRoutines("stats")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.