Error: package ‘rJava’ could not be loaded

모듈을 올리는데 에러가 발생한다.

> library(KoNLP)
Loading required package: rJava
Error : .onLoad failed in loadNamespace() for 'rJava', details:
  call: dirname(this$RuntimeLib)
  error: a character vector argument expected
Error: package ‘rJava’ could not be loaded


환경변수에 JAVA_HOME을 지정한다.