Skip to content
Prev 17 / 12125 Next

[R-pkg-devel] how to call PROJ.4 C code in a package?

If you're unsure how to do that, just look at the source for the proj4
package: https://github.com/cran/proj4/tree/master/src (that link is
via the convenient github mirror)  You'll need to mimic the makevars
files.

If that package doesn't do exactly what you need, you can use github
search to look for other packages that use proj_api.h:
https://github.com/search?q=user%3Acran+proj_api.h&type=Code

Hadley