Rev 53107 | Blame | Compare with Previous | Last modification | View Log | Download | RSS feed
% File src/library/base/man/getLoadedDLLs.Rd% Part of the R package, http://www.R-project.org% Copyright 1995-2010 R Core Development Team% Distributed under GPL 2 or later\name{getLoadedDLLs}\alias{getLoadedDLLs}\alias{print.DLLInfo}\alias{print.DLLInfoList}\alias{$.DLLInfo}% and the classes\alias{DLLInfo}\alias{DLLInfoList}\title{Get DLLs Loaded in Current Session}\description{This function provides a way to get a list of all the DLLs (see\code{\link{dyn.load}}) that are currently loaded in the \R session.}\usage{getLoadedDLLs()}\details{This queries the internal table that manages the DLLs.}\value{An object of class \code{"DLLInfoList"} which is a list with anelement corresponding to each DLL that is currently loaded in thesession. Each element is an object of class \code{"DLLInfo"} whichhas the following entries.\item{name}{the abbreviated name.}\item{path}{the fully qualified name of the loaded DLL.}\item{dynamicLookup}{a logical value indicating whether R uses onlythe registration information to resolve symbols or whether itsearches the entire symbol table of the DLL.}\item{handle}{a reference to the C-level data structure thatprovides access to the contents of the DLL.This is an object of class \code{"DLLHandle"}.}Note that the class \code{DLLInfo} has an overloaded method for\code{$} which can be used to resolve native symbols within thatDLL. Therefore, one must access the R-level elements describedabove using \code{[[}, e.g. \code{x[["name"]]} or \code{x[["handle"]]}.}\author{Duncan Temple Lang \email{duncan@wald.ucdavis.edu}.}\note{We are starting to use the \code{handle} elements in the DLL object toresolve symbols more directly in \R.}\seealso{\code{\link{getDLLRegisteredRoutines}},\code{\link{getNativeSymbolInfo}}}\examples{getLoadedDLLs()}\keyword{interface}