From murdoch at stats.uwo.ca  Sat Sep 22 17:24:54 2007
From: murdoch at stats.uwo.ca (Duncan Murdoch)
Date: Sat, 22 Sep 2007 11:24:54 -0400
Subject: [Rd] How can I list unregistered routines from loaded DLLs?
In-Reply-To: <83ECE0ECE6C48E4EAD40647CF370A840021D0D07@SPUMAIL.spu.local>
References: <83ECE0ECE6C48E4EAD40647CF370A840021D0D07@SPUMAIL.spu.local>
Message-ID: <46F533C6.3040408@stats.uwo.ca>

Shaw, Jason wrote:
> Hi,
>
> I want to load DLLs that have been compiled in C or C++ (using
> dyn.load), and then get a list of all routines contained in that DLL.
> getRegisteredRoutines doesn't work, because the routines have not been
> registered.  It's a catch-22 because I can't (so far as I can see)
> register the routines without knowing their names, and I can't (so far
> as I can see) get a list of their names unless they are registered.  Is
> there a way around this, besides making guesses about the names and
> testing them with is.loaded()?
You need tools external to R.  pedump (in the Rtools collection) can do 
it on Windows; objdump is a similar utility on Unix platforms.

Duncan Murdoch



[Rd] How can I list unregistered routines from loaded DLLs?
Duncan Murdoch