Dear R People: I was finally able to compile R ffrom source on a Linux Red Hat 7.2 With R-1.8.0 I would like to test out a simple Fortran subroutine with R. Here is the output: [hodgess at gator bin]$ ./R CMD SHLIB -o test1.so test1.f g77 -mieee-fp -fPIC -g -O2 -c test1.f -o test1.o gcc -shared -L/usr/local/lib -o test1.so test1.o -L/usr/local/lib -L/usr/lib/gc c-lib/i386-redhat-linux/2.96 -L/usr/lib/gcc-lib/i386-redhat-linux/2.96/../../.. -lg2c -lm [Previously saved workspace restored]> dyn.load("test1.so")> is.loaded(symbol.For("test1.so"))[1] FALSE>What am I doing wrong, please? I'm sure that it's something simple. Thanks in advance! Erin mailto: hodgess at gator.uhd.edu
On Sat, 8 Nov 2003 16:46:28 -0600, you wrote:>> dyn.load("test1.so") > >> is.loaded(symbol.For("test1.so")) > >[1] FALSE > >> > >What am I doing wrong, please?In symbol.For, use the name of the Fortran subroutine, not the name of the DLL. Duncan Murdoch