On Mon, 28 Feb 2000, Vadim Ogranovich wrote:
>
> Dear All, When I dynamically load an object file (compiled from C for
> example) how can I list the global names which are loaded with the file? Is
> it possible to list all names which one can call on a running S-Plus
> session?
Use nm on shared library you loaded. For a more-or-less
platform-independent way use nm -pq or Splus NM, as in
Splus5 NM S.so | grep " T " | cut -f3 -d " " | grep -v "^_"
(You will get a few system routines too.)
> P.S. I use V5.1 on Sun
--
Brian D. Ripley, ripley@stats.ox.ac.uk
Professor of Applied Statistics, http://www.stats.ox.ac.uk/~ripley/
University of Oxford, Tel: +44 1865 272861 (self)
1 South Parks Road, +44 1865 272860 (secr)
Oxford OX1 3TG, UK Fax: +44 1865 272595
-----------------------------------------------------------------------
This message was distributed by s-news@wubios.wustl.edu. To unsubscribe
send e-mail to s-news-request@wubios.wustl.edu with the BODY of the
message: unsubscribe s-news
|