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

Description Details Tag Usage

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.

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.

Tag Usage

1
2
3
4
5
6
#' @useDynLib
#'  @useDynLib foo
#'  @useDynLib foo, myRoutine, myOtherRoutine
#'  @useDynLib foo, myRoutine_sym = myRoutine, myOtherRoutine
#'  @useDynLib myDLL, .registration = TRUE
#'  @useDynLib KernSmooth, .registration = TRUE, .fixes = "F_"

hadley/roxygen3 documentation built on May 17, 2019, 12:16 p.m.