tal tal
tal tal

Reputation: 21

R error loading package rJava and openNLP

I get this error message while trying to load the rJava or the openNLP packages through the function library(openNLP) or library(rJava):

Error: package or namespace load failed for ‘rJava’: .onLoad in loadNamespace() for 'rJava' failed, details: call: dirname(this$RuntimeLib) error: a character vector argument expected

I have no problems loading other packages, e.g. NLP. Does somebody know what the problem is?

Upvotes: 1

Views: 966

Answers (2)

Hugo
Hugo

Reputation: 11

I solved this problem by installing Java SE Development Kit 8.

Link for Download: http://www.oracle.com/technetwork/pt/java/javase/downloads/jdk8-downloads-2133151.html

Upvotes: 1

tal tal
tal tal

Reputation: 21

I have updated the Java SE Development Kit and now I get no error message anymore. So this seems to be the solution for the problem.

Upvotes: 1

Related Questions