An error occurred while running R (4.2.1) [R Console]. R
4.2.1 / RJ (Mar 26, 2023, 21:57:21) terminates unexpected.
The R engine could not be started.
Process Error Log:
Mar 26, 2023 9:57:21 PM
org.eclipse.statet.rj.server.srv.RMIServerControl initServer
INFO: [Control:rjs-local-1679864241390] Initializing R engine
server (rmi://127.0.0.1:51100/rjs-local-1679864241390)...
WARNING: A terminally deprecated method in java.lang.System
has been called
WARNING: System::setSecurityManager has been called by
org.eclipse.statet.rj.server.srv.RMIServerControl
(file:/Users/csoares/eclipse/java-2022-12/Eclipse.app/Contents/Eclipse/plugins/org.eclipse.statet.rj.server_4.6.0.202209080600-r.jar)
WARNING: Please consider reporting this to the maintainers of
org.eclipse.statet.rj.server.srv.RMIServerControl
WARNING: System::setSecurityManager will be removed in a
future release
Mar 26, 2023 9:57:21 PM
org.eclipse.statet.rj.server.srv.RMIServerControl
publishServer
INFO: [Control:rjs-local-1679864241390] server is added to
registry - ready.
Mar 26, 2023 9:57:22 PM
org.eclipse.statet.rj.server.srvext.ServerAuthMethod
createLogin
INFO: [Auth:none] creating new login (127.0.0.1).
Mar 26, 2023 9:57:22 PM
org.eclipse.statet.rj.server.srvext.ServerAuthMethod
performLogin
INFO: [Auth:none] performing login completed successfull: -
(127.0.0.1).
Mar 26, 2023 9:57:22 PM
de.walware.rj.internal.server.gr.jri.GRSrvEngine start
SEVERE: Could not start the R engine
java.lang.UnsatisfiedLinkError:
/Library/Frameworks/R.framework/Versions/4.2-arm64/Resources/library/rj/jri/libjri.jnilib:
dlopen(/Library/Frameworks/R.framework/Versions/4.2-arm64/Resources/library/rj/jri/libjri.jnilib,
0x0001): tried:
'/Library/Frameworks/R.framework/Versions/4.2-arm64/Resources/lib/libjri.jnilib'
(no such file),
'/Library/Frameworks/R.framework/Versions/4.2-arm64/Resources/library/rj/jri/libjri.jnilib'
(mach-o file, but is an incompatible architecture (have
'x86_64', need 'arm64')),
'/System/Volumes/Preboot/Cryptexes/OS/Library/Frameworks/R.framework/Versions/4.2-arm64/Resources/library/rj/jri/libjri.jnilib'
(no such file),
'/Library/Frameworks/R.framework/Versions/4.2-arm64/Resources/library/rj/jri/libjri.jnilib'
(mach-o file, but is an incompatible architecture (have
'x86_64', need 'arm64'))
at java.base/jdk.internal.loader.NativeLibraries.load(Native
Method)
at
java.base/jdk.internal.loader.NativeLibraries$NativeLibraryImpl.open(NativeLibraries.java:388)
at
java.base/jdk.internal.loader.NativeLibraries.loadLibrary(NativeLibraries.java:232)
at
java.base/jdk.internal.loader.NativeLibraries.loadLibrary(NativeLibraries.java:174)
at
java.base/java.lang.ClassLoader.loadLibrary(ClassLoader.java:2415)
at
java.base/java.lang.Runtime.loadLibrary0(Runtime.java:818)
at java.base/java.lang.System.loadLibrary(System.java:1989)
at org.rosuda.JRI.Rengine.<clinit>(Rengine.java:31)
at
de.walware.rj.internal.server.gr.jri.GRSrvEngine.start(GRSrvEngine.java:515)
at
de.walware.rj.internal.server.gr.jri.GRSrvEngine.start(GRSrvEngine.java:124)
at
org.eclipse.statet.rj.server.srv.engine.SrvEngineServer.execute(SrvEngineServer.java:218)
at
java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native
Method)
at
java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77)
at
java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at
java.base/java.lang.reflect.Method.invoke(Method.java:568)
at
java.rmi/sun.rmi.server.UnicastServerRef.dispatch(UnicastServerRef.java:360)
at
java.rmi/sun.rmi.transport.Transport$1.run(Transport.java:200)
at
java.rmi/sun.rmi.transport.Transport$1.run(Transport.java:197)
at
java.base/java.security.AccessController.doPrivileged(AccessController.java:712)
at
java.rmi/sun.rmi.transport.Transport.serviceCall(Transport.java:196)
at
java.rmi/sun.rmi.transport.tcp.TCPTransport.handleMessages(TCPTransport.java:587)
at
java.rmi/sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run0(TCPTransport.java:828)
at
java.rmi/sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.lambda$run$0(TCPTransport.java:705)
at
java.base/java.security.AccessController.doPrivileged(AccessController.java:399)
at
java.rmi/sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(TCPTransport.java:704)
at
java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1136)
at
java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635)
at java.base/java.lang.Thread.run(Thread.java:833)