Displaying 1 result from an estimated 1 matches for "try_it".
Did you mean:
try_i
2007 Apr 05
1
is.loaded() and dyn.load()
Dear all,
I am puzzled at the behaviour of is.loaded() when a dyn.load() call to a a
FORTRAN shared library is included in a file to be sourced.
A reproducible example is the following:
1. the attached fortran subroutine try_it.f90 performs a summation of the
elements of a REAL*8 vector
compile with
gfortran try_it.f90 -shared -s -otry_it.dll
2. create a file to be sourced (see the attached try_it.R) containing the
following commands:
BEGIN try_it.R ************************************
dyn.load("try_it.dll");...