Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [statet-users] Problems installing rj and rj-gd from source, MacOS

Hi Michael,

[02.03.2020 23:49] Michael Rowe wrote:
[...]

This finally worked for the rj package (yay-- progress), but I got an error
with rj.gd:

Error: package or namespace load failed for ‘rj.gd’:
  .onLoad failed in loadNamespace() for 'rj.gd', details:
   call: dyn.load(file, DLLpath = DLLpath, ...)
   error: unable to load shared object
'~/opt/miniconda3/envs/r36/lib/R/library/00LOCK-rj.gd/00new/
rj.gd/libs/rj.gd.dylib':
   dlopen(~/opt/miniconda3/envs/r36/lib/R/library/00LOCK-rj.gd/00new/
rj.gd/libs/rj.gd.dylib, 6): Library not loaded: @rpath/libjvm.dylib
   Referenced from:
~/opt/miniconda3/envs/r36/lib/R/library/00LOCK-rj.gd/00new/
rj.gd/libs/rj.gd.dylib
   Reason: image not found
Error: loading failed
Execution halted
ERROR: loading failed
* removing ‘~/opt/miniconda3/envs/r36/lib/R/library/rj.gd’

It seems R tries to load the package rj.gd. But this is only possible, if R was started using RJ. So you have to avoid the test load (is --no-test-load available on MacOS?).

Regards,
Stephan


Back to the top