It works with R CMD SHLIB test.f
Thanks.
Gilles
> Try
>
> R CMD SHLIB test.f
>
> If SHLIB know it has to deal with Fortran code, it adds the appropriate
> libraries.
>
> On Wed, 26 May 2004, Gilles GUILLOT wrote:
> > I have the following Fortran code
> >
> > subroutine sub(path)
> > character*1
Try
R CMD SHLIB test.f
If SHLIB know it has to deal with Fortran code, it adds the appropriate
libraries.
On Wed, 26 May 2004, Gilles GUILLOT wrote:
> I have the following Fortran code
>
> subroutine sub(path)
> character*100 path
> open(10,file=path)
> end
>
> saved as test.f
>
> which I c
I have the following Fortran code
subroutine sub(path)
character*100 path
open(10,file=path)
end
saved as test.f
which I compile with
g77 -c test.f
then I make the shared libary in R (Version 1.9.0) with
system("R CMD SHLIB test.o")
so far, everything OK.
But
dyn.load("test.so")
returns the f