load function

Loading and unloading shared-object libraries

Loading and unloading shared-object libraries

pompLoad and pompUnload cause compiled codes associated with object to be dynamically linked or unlinked, respectively. solibs<- is a helper function for developers of packages that extend pomp. methods

## S4 method for signature 'pomp' pompLoad(object, ...) ## S4 method for signature 'pomp' pompUnload(object, ...) ## S4 replacement method for signature 'pomp' solibs(object, ...) <- value ## S4 method for signature 'objfun' pompLoad(object, ...) ## S4 method for signature 'objfun' pompUnload(object, ...)

Arguments

  • object: an object of class pomp , or extending this class.

Details

When C snippets are used in the construction of a pomp object, the resulting shared-object library is dynamically loaded (linked) before each use, and unloaded afterward.

solibs<- prepends the lib generated by hitch

to the solibs slot of a pomp object.

  • Maintainer: Aaron A. King
  • License: GPL-3
  • Last published: 2025-01-08