I am trying to trigger a FORTRAN code from R.
For that I am creating a .so file by giving command
R CMD SHLIB filename.f
The .so file is created without any warnings(!!)
To lead the file in R, I give the following command in R
dyn.load("filename.so")
The file gets loaded as it shows when I give command getLoadedDlls()
in R.
But when I try to run it using .Fortran("filename")
it throws an error
Error in .Fortran("filename") : Fortran symbol name "filename" not in load table