Re: [Rd] How can I list unregistered routines from loaded DLLs?

From: Duncan Murdoch <murdoch_at_stats.uwo.ca>
Date: Sat, 22 Sep 2007 11:24:54 -0400

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



R-devel_at_r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-devel Received on Sat 22 Sep 2007 - 15:29:50 GMT

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.2.0, at Sun 23 Sep 2007 - 08:41:16 GMT.

Mailing list information is available at https://stat.ethz.ch/mailman/listinfo/r-devel. Please read the posting guide before posting to the list.