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
.
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.
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_"
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.