On Wed, 21 Aug 2002, Arjun Bhandari wrote:
> Hi,
>
> I managed to write my first S.dll using MSVC++. I used the convolve.c
> function outlined in the book S programming. I create this chapter in the
> working directory. It results in a directory convolve with the S.dll. Then
> I use dyn.load to load the dll. Now when I use the function in the S
> environment it gives me an error that "convolve" is not a symbol in the
> load table, while calling subroutine convolve.
>
> Has anyone else come across such an error and if yes how to get around it.
> I am using S plus version 6.1 for windows.
That postdates `S Programming', so look in its on-line complements.
In short, dyn.load does not and never has loaded DLLs. Put S.dll in the
working directory.
--
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
|