Re: [Rd] is.loaded() and dyn.load()

2007-04-11 Thread Simone Giannerini
Your aggressive tone would be inacceptable even if your comments were relevant. What's more they are not. The point here is that under Windows it is very likely that fortran compiled code is not being properly loaded unless g77 is used, and that is.loaded() would trigger the dynamic loading. I

Re: [Rd] is.loaded() and dyn.load()

2007-04-05 Thread Prof Brian Ripley
Did you read the comments under ?.Fortran about this? What you are doing is quite explicitly said not to be supported. gfortran is not a supported Fortran compiler for R for Windows 2.4.1. It behaves differently from the supported g77. The behaviour is adapted to the compiler used when configure

[Rd] is.loaded() and dyn.load()

2007-04-05 Thread Simone Giannerini
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