| getCallingDLL | R Documentation |
This is an internal function that is called fromR's C code todetermine the enclosing namespace of a.C/.Call/.Fortran/.External call which hasnoPACKAGE argument. If the call has been made from a functionwithin a namespace, then we can find the DLL associated with thatnamespace. The purpose of this is to avoid having to use thePACKAGE argument in these native calls and so better supportversions of packages.
This is an internal function that may be migrated to internal Ccode in the future and so should not be used byR programmers.
getCallingDLL(f = sys.function(-1), doStop = FALSE)getCallingDLLe(e)
f | the function whose namespace and DLL are to be found.By default, this is the current function being called whichis the one in which the native routine is being invoked. |
doStop | a logical value indicating whether failure to finda namespace and/or DLL is an error ( |
e | an environment. |
.C,.Call,.Fortran,.External
if(exists("ansari.test")) getCallingDLL(ansari.test)Add the following code to your website.
For more information on customizing the embed code, readEmbedding Snippets.
