.C
/.Call
/.Fortran
/.External
call which has
no PACKAGE
argument. If the call has been made from a function
within a namespace, then we can find the DLL associated with that
namespace. The purpose of this is to avoid having to use the
PACKAGE
argument in these native calls and so better support
versions of packages.This is an internal function that may be migrated to internal C code in the future and so should not be used by R programmers.
getCallingDLL(f = sys.function(-1), doStop = FALSE)
getCallingDLLe(e)
TRUE
) or not
(FALSE
). The default is FALSE
so that when this is
called because there is no PACKAGE
argument in a
.C
, .Call
, .Fortran
,
.External
call, no error occurs and the regular lookup
is performed by searching all DLLs in order..C
,
.Call
,
.Fortran
,
.External
if(exists("ansari.test"))
getCallingDLL(ansari.test)
Run the code above in your browser using DataLab