From ggrothendieck at gmail.com  Tue Jul 24 02:47:32 2012
From: ggrothendieck at gmail.com (Gabor Grothendieck)
Date: Mon, 23 Jul 2012 20:47:32 -0400
Subject: [Rd] Finding dynamic shared libraries loaded with a package
In-Reply-To: <CAFOpNVEJxF3URjj8XD=sSLM4PqtWXQaZsbx1=7JeWay4CshrmQ@mail.gmail.com>
References: <CAFOpNVEJxF3URjj8XD=sSLM4PqtWXQaZsbx1=7JeWay4CshrmQ@mail.gmail.com>
Message-ID: <CAP01uR=CXA-71sEFDbqkkHnfc57UTfqkf3ikX-UE+-DBp9=P1A@mail.gmail.com>

On Mon, Jul 23, 2012 at 8:29 PM, Winston Chang <winstonchang1 at gmail.com> wrote:
> Is there a way to query a package to see what dynamic shared libraries are
> loaded with it?
>

This gives a "DLLInfoList" class object whose components are info
associated with the loaded dll's

DLLInfoList <- library.dynam()

and this gives the components associated with package "stats"

DLLInfoList[sapply(DLLInfoList, "[[", "name") == "stats"]





-- 
Statistics & Software Consulting
GKX Group, GKX Associates Inc.
tel: 1-877-GKX-GROUP
email: ggrothendieck at gmail.com



[Rd] Finding dynamic shared libraries loaded with a package
Gabor Grothendieck