Cannot load qdap R package

I am using Mac os x el Capitan version 10.11.4 and I received this error while trying to load the qdap library.

JavaVM: Failed to load JVM: / Library / Java / JavaVirtualMachines / jdk 1.8.0_65.jdk / Contents / Home / bundle / Libraries / libserver.dylib JavaVM FATAL: Failed to load jvm library. Error: .onLoad failed in loadNamespace () for 'openNLPdata', details: call: .jinit ()
Error: JNI_GetCreatedJavaVMs returned -1

Error: loading package or namespace failed for "qdap"

I tried to do this:

Step 1 sudo R CMD javareconf

Step # 2 install.packages("rJava",type='source')

but i cant run sudo R CMD javareconf

sudo: R: command not found

+1
source share

Source: https://habr.com/ru/post/1656028/


All Articles