2
3

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 5 years have passed since last update.

rJava をロードしようとしたときのエラー #rstatsj

Last updated at Posted at 2013-10-31
実行コード
library(rJava)

Error : .onLoad は loadNamespace()('rJava' に対する)の中で失敗しました、詳細は:
call: inDL(x, as.logical(local), as.logical(now), ...)
error: unable to load shared object 'C:/R/win-library/3.0/rJava/libs/x64/rJava.dll':
LoadLibrary failure: 指定されたモジュールが見つかりません。

確認すると、rJava.dll は指定のフォルダにあるのでおかしいですねぇ。。

上記サイトを参考に、環境変数 Path に

C:\Program Files\Java\jdk1.7.0_40\jre\bin\server

を追加するといけました。

2
3
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
2
3

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?