Unable to load RWeka package

239 Views Asked by At

I have tried adding the path in the terminal using the solution given here and it said was successfully added but still I am unable to load the RWeka package.

It is giving me the below error -

Error: package or namespace load failed for ‘RWeka’: .onLoad failed in loadNamespace() for 'rJava', details: call: dyn.load(file, DLLpath = DLLpath, ...) error: unable to load shared object '/Library/Frameworks/R.framework/Versions/4.0/Resources/library/rJava/libs/rJava.so': dlopen(/Library/Frameworks/R.framework/Versions/4.0/Resources/library/rJava/libs/rJava.so, 6): Symbol not found: _EXTPTR_PTR Referenced from: /Library/Frameworks/R.framework/Versions/4.0/Resources/library/rJava/libs/rJava.so Expected in: /Library/Frameworks/R.framework/Resources/lib/libR.dylib in /Library/Frameworks/R.framework/Versions/4.0/Resources/library/rJava/libs/rJava.so In addition: Warning message: package ‘RWeka’ was built under R version 4.0.2

What could be done? Please Help!

0

There are 0 best solutions below