Rev 3817 | Rev 7081 | Go to most recent revision | Blame | Compare with Previous | Last modification | View Log | Download | RSS feed
\name{library.dynam}\alias{library.dynam}\alias{.Dyn.libs}\title{Loading Shared Libraries}\usage{library.dynam(chname, package = .packages(), lib.loc = .lib.loc)}\arguments{\item{chname}{a character string naming a shared library to load.}\item{package}{a character vector with the names of packages to searchthrough.}\item{lib.loc}{a character vector describing the location of \Rlibrary trees to search through.}}\description{\code{library.dynam} loads the specified (shared) object file if ithas not been loaded already. It is designed to be used inside apackage rather than at the command line, and should really only beused inside \code{\link{.First.lib}()}. The system-specific extensionfor shared libraries (e.g., ``\file{.so}'' on Unix systems) should notbe added.}\value{The \code{.Dyn.libs} vector with the names of packageswhich have used \code{library.dynam(..)} in the current \R session.It is returned as \code{\link{invisible}}, unless the \code{chname}argument is missing.Users should never set \code{.Dyn.libs} directly.}\seealso{\code{\link{.First.lib}}, \code{\link{library}},\code{\link{dyn.load}}, \code{\link{.packages}},\code{\link{.lib.loc}}}\examples{library.dynam()# which packages have been ``dynamically loaded''}\keyword{data}