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

2023-02-01 Thread Duncan Murdoch
According to the help page for dyn.load, I think this is within the allowed behaviour: "now: a logical controlling whether all symbols are resolved (and relocated) immediately the library is loaded or deferred until they are used. This control is useful for developers testing whether a library

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

2023-02-01 Thread Ivan Krylov
В 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? On Unix-like systems, dyn.load forwards its arguments to dlopen(). It should be possible to confirm with a debugger th

[R] Detpack package

2023-02-01 Thread Nick Wray
Hello I've successfully installed the package "Detpack" and remembered to call it via library() But when I try to use the functions i get this: chi2testuniform(vals, 0.05) Error in chi2testuniform(vals, 0.05) : could not find function "chi2testuniform" And yet this function (amongst other

Re: [R] Detpack package

2023-02-01 Thread Eric Berger
Detpack or detpack? What happens when you try detpack::chi2testuniform(...) ? On Wed, Feb 1, 2023 at 6:08 PM Nick Wray wrote: > Hello I've successfully installed the package "Detpack" and remembered to > call it via library() But when I try to use the functions i get this: > > > chi2testuni

Re: [R] Detpack package

2023-02-01 Thread Nick Wray
I did use "detpack" ie not with a capital detpack::chi2testuniform(vals,0.05) gives this: Error: 'chi2testuniform' is not an exported object from 'namespace:detpack' ?? Thanks Nick On Wed, 1 Feb 2023 at 16:29, Eric Berger wrote: > Detpack or detpack? > > What happens when you try detpack::chi

Re: [R] Detpack package

2023-02-01 Thread Duncan Murdoch
On 01/02/2023 11:41 a.m., Nick Wray wrote: I did use "detpack" ie not with a capital detpack::chi2testuniform(vals,0.05) gives this: Error: 'chi2testuniform' is not an exported object from 'namespace:detpack' ?? Thanks Nick The only exports from detpack are these: > library(detpack) > l

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

2023-02-01 Thread Michael Milton
Hi Ivan, Thanks for the suggestion. I found that libpqwalreceiver.so, which is part of pgsql-15.1, made for a simpler example of my issue. So, using your advice, I ran the following in my shell: LD_DEBUG=libs R -e 'dyn.load("/stornext/System/data/tools/pgsql/pgsql-15.1/lib/libpqwalreceiver.so", n