Re: [R] dyn.load(now = FALSE) not actually lazy?

2023-02-01 Thread Michael Milton
ymbol: work_mem Execution halted On Wed, Feb 1, 2023 at 9:05 PM Ivan Krylov wrote: > В Wed, 1 Feb 2023 14:16:54 +1100 > Michael Milton пишет: > > > Is this a bug in the `dyn.load` implementation for R? If not, why is > > it behaving like this? What should I do about it? > &

[R] dyn.load(now = FALSE) not actually lazy?

2023-01-31 Thread Michael Milton
On Linux, if I have a .so file that has a dependency on another .so, and I `dyn.load(now=FALSE)` the first one, R seems to try to resolve the symbols immediately, causing the load to fail. For example, I have `libtorch` installed on my HPC. Note that it links to various libs such as `libcudart.so`