I wasnt to add a new variogram function the gstat. I have included the function in vario_fn.c, vario_fn.h, and vario.c. My function uses the Rmath.h library from R, and I have copied it into the include folder. I have added Rmath.h in the MESCHACH_HDRS section of the makefile. When running make, I still get an error message complaining that the Rmth function are not defined. What else do I need to do? Where can I put the -lRmath falg for the compiler?
Many thanks, iago