Skip to main content

builtin_library_dynam

Function builtin_library_dynam 

Source
fn builtin_library_dynam(
    args: &[RValue],
    _named: &[(String, RValue)],
    ctx: &BuiltinContext<'_>,
) -> Result<RValue, RError>
Expand description

library.dynam — load a package’s compiled code.

Called by library() when a package has useDynLib in NAMESPACE. Looks for the .so/.dylib in the package’s libs/ directory.

@param chname character: the shared library name (package name) @param package character: the package name @param lib.loc character: library path @return invisible NULL @namespace base