to clarify the example a bit, assume that for lib.loc i always want to
search the current working directory of the R session (thus forcing
the user to have mylib.so sitting in the directory returned by getwd()
when loading the package).
NOTE: this is not how i will finally implement this package,
hi, i'm having some trouble getting a package to load a shared library
object in .onLoad(...)
i have a shared object file, say "mylib.so".
if i start an R session, and via the CLI specify the actual library
via:
> dyn.load("mylib.so")
everything works quite well (i.e. i can then follow with some
2 matches
Mail list logo