[R-SIG-Mac] rJava stops loading since I upgraded R to 3.4.0
dwinsemius at comcast.net
Wed May 24 00:18:32 CEST 2017
> On May 23, 2017, at 1:05 PM, Duncan Murdoch <murdoch.duncan at gmail.com> wrote:
> On 23/05/2017 2:48 PM, Christofer Bogaso wrote:
>> Hi again,
>> After I upgraded R to 3.4.0, I could not load rJava package. Below is
>> the error :
>> Error: package or namespace load failed for ‘rJava’:
>> .onLoad failed in loadNamespace() for 'rJava', details:
>> call: dyn.load(file, DLLpath = DLLpath, ...)
>> error: unable to load shared object
Does '/Library/Frameworks/R.framework/Versions/3.4/Resources/library/rJava/libs/rJava.so' exist?
(You may need to check libPaths() in your new installation. )
>> 6): Library not loaded: @rpath/libjvm.dylib
What version of the Java Runtime Environment is available? What do you get for:
I think that version was working with rJava, but I followed the "critical" advice on the Java SDK webpage ...
... and after updating I now get
And rJava still loads without error. I'm not on Sierra, however.
>> Referenced from:
>> Reason: image not found
>> I have installed latest version of Java.
> Did you re-install rJava? Generally speaking you need to re-install all packages when switching R versions (except if the only change is in the patch level z, where the version number is x.y.z, you can usually use the old version).
> Duncan Murdoch
>> R version :
>> R version 3.4.0 (2017-04-21) -- "You Stupid Darkness"
>> Copyright (C) 2017 The R Foundation for Statistical Computing
>> Platform: x86_64-apple-darwin15.6.0 (64-bit)
>> iOS : Sierra
>> With previous version of R, rJava was working fine. Could you please
>> help how to fix it.
>> Thanks for your time.
>> R-SIG-Mac mailing list
>> R-SIG-Mac at r-project.org
> R-SIG-Mac mailing list
> R-SIG-Mac at r-project.org
Alameda, CA, USA
More information about the R-SIG-Mac