Re: [R] library.dynam

2010-01-26 Thread Murat Tasan
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,

[R] library.dynam

2010-01-26 Thread Murat Tasan
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