Movatterモバイル変換


[0]ホーム

URL:


rdrr.io

getCallingDLL: Compute DLL for Native Interface Call

getCallingDLLR Documentation

Compute DLL for Native Interface Call

Description

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.

Usage

getCallingDLL(f = sys.function(-1), doStop = FALSE)getCallingDLLe(e)

Arguments

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 (TRUE) or not(FALSE). The default isFALSE so that when this iscalled because there is noPACKAGE argument in a.C,.Call,.Fortran,.External call, no error occurs and the regular lookupis performed by searching all DLLs in order.

e

an environment.

See Also

.C,.Call,.Fortran,.External

Examples

if(exists("ansari.test"))   getCallingDLL(ansari.test)

What can we improve?

R Package Documentation

Browse R Packages

We want your feedback!

Note that we can't provide technical support on individual packages. You should contact the package authors for that.

 
Embedding an R snippet on your website

Add the following code to your website.

For more information on customizing the embed code, readEmbedding Snippets.

Close

[8]ページ先頭

©2009-2026 Movatter.jp