Rev 73360 | Blame | Compare with Previous | Last modification | View Log | Download | RSS feed
% File src/library/base/man/getLoadedDLLs.Rd% Part of the R package, https://www.R-project.org% Copyright 1995-2017 R Core Team% Distributed under GPL 2 or later\name{getLoadedDLLs}\title{Get DLLs Loaded in Current Session}\alias{getLoadedDLLs}\alias{print.DLLInfo}\alias{print.DLLInfoList}\alias{[.DLLInfoList}\alias{$.DLLInfo}% and the classes\alias{DLLInfo}\alias{DLLInfoList}\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 \code{\link{list}}with an element 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 a 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.\sspace{}\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()utils::tail(getLoadedDLLs(), 2) # the last 2 loaded ones, still a DLLInfoList}\keyword{interface}