roxygen3 (version 0.1)

UseDynLibTag-class: @useDynLib: import routines from a shared library.

Description

Most of the time you should only need to use @useDynLib without any arguments - auto_dynlib will parse the function and extract any calls to .C, .Fortran, .Call or .External.

Arguments

Tag Usage

#' @useDynLib
#'  @useDynLib foo
#'  @useDynLib foo, myRoutine, myOtherRoutine
#'  @useDynLib foo, myRoutine_sym = myRoutine, myOtherRoutine
#'  @useDynLib myDLL, .registration = TRUE
#'  @useDynLib KernSmooth, .registration = TRUE, .fixes = "F_"

Details

For more details on how to use, see http://cran.r-project.org/doc/manuals/R-exts.html#Load-hooks

useDynLib directives of the form myDLL = useDynLib(foo, myRoutine_sym = myRoutine, myOtherRoutine) are not currently supported.