EVOLUTION-MANAGER
Edit File: getLoadedDLLs.html
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"><html xmlns="http://www.w3.org/1999/xhtml"><head><title>R: Get DLLs Loaded in Current Session</title> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <link rel="stylesheet" type="text/css" href="R.css" /> </head><body> <table width="100%" summary="page for getLoadedDLLs {base}"><tr><td>getLoadedDLLs {base}</td><td style="text-align: right;">R Documentation</td></tr></table> <h2>Get DLLs Loaded in Current Session</h2> <h3>Description</h3> <p>This function provides a way to get a list of all the DLLs (see <code><a href="dynload.html">dyn.load</a></code>) that are currently loaded in the <span style="font-family: Courier New, Courier; color: #666666;"><b>R</b></span> session. </p> <h3>Usage</h3> <pre> getLoadedDLLs() </pre> <h3>Details</h3> <p>This queries the internal table that manages the DLLs. </p> <h3>Value</h3> <p>An object of class <code>"DLLInfoList"</code> which is a <code><a href="list.html">list</a></code> with an element corresponding to each DLL that is currently loaded in the session. Each element is an object of class <code>"DLLInfo"</code> which has the following entries. </p> <table summary="R valueblock"> <tr valign="top"><td><code>name</code></td> <td> <p>the abbreviated name.</p> </td></tr> <tr valign="top"><td><code>path</code></td> <td> <p>the fully qualified name of the loaded DLL.</p> </td></tr> <tr valign="top"><td><code>dynamicLookup</code></td> <td> <p>a logical value indicating whether R uses only the registration information to resolve symbols or whether it searches the entire symbol table of the DLL.</p> </td></tr> <tr valign="top"><td><code>handle</code></td> <td> <p>a reference to the C-level data structure that provides access to the contents of the DLL. This is an object of class <code>"DLLHandle"</code>.</p> </td></tr> </table> <p>Note that the class <code>DLLInfo</code> has a method for <code>$</code> which can be used to resolve native symbols within that DLL. Therefore, one must access the R-level elements described above using <code>[[</code>, e.g. <code>x[["name"]]</code> or <code>x[["handle"]]</code>. </p> <h3>Note</h3> <p>We are starting to use the <code>handle</code> elements in the DLL object to resolve symbols more directly in <span style="font-family: Courier New, Courier; color: #666666;"><b>R</b></span>. </p> <h3>Author(s)</h3> <p>Duncan Temple Lang <a href="mailto:duncan@wald.ucdavis.edu">duncan@wald.ucdavis.edu</a>.</p> <h3>See Also</h3> <p><code><a href="getDLLRegisteredRoutines.html">getDLLRegisteredRoutines</a></code>, <code><a href="getNativeSymbolInfo.html">getNativeSymbolInfo</a></code> </p> <h3>Examples</h3> <pre> getLoadedDLLs() utils::tail(getLoadedDLLs(), 2) # the last 2 loaded ones, still a DLLInfoList </pre> <hr /><div style="text-align: center;">[Package <em>base</em> version 3.6.0 <a href="00Index.html">Index</a>]</div> </body></html>