grimbough / rhdf5

Package providing an interface between HDF5 and R
http://bioconductor.org/packages/rhdf5
60 stars 21 forks source link

Linking to rhdf5 #59

Closed dipterix closed 4 years ago

dipterix commented 4 years ago

Hi, Is it possible to make a static file headers to provide API for other R packages with cpp or c code directly linking to your c headers?

#Linking-to-other-packages

Basically it requires static header files from your package in inst/include/ path so that I can extend your package without copying and edit yours.

Here's an example from some another package.

grimbough commented 4 years ago

What feature of rhdf5 do you want access to? I'm wondering if https://github.com/grimbough/Rhdf5lib would be more useful to you. That package wraps the standard HDF5 library and allows you to link against it using your own C code from a package.