2012-04-02 78 views
0

當在安裝rJava包,我得到了以下錯誤消息:配置錯誤安裝rJava包

checking JNI data types... configure: error: One or more JNI types differ from the corresponding native type. You may need to use non-standard compiler flags or a different compiler in order to fix this. ERROR: configuration failed for package ‘rJava’

可我知道什麼是此故障,以及如何解決這個問題的原因是什麼?謝謝。

+2

您應該包含更多信息。例如,操作系統,R版本,Java版本,... – csgillespie 2012-04-03 08:09:41

回答

0

如果安裝但不起作用,請先嚐試:remove.package(「rJava」)和install.package(「rJava」)。有時幫助。如果仍然ahvgin問題發佈更多數據。但除非沒有必要。

編輯:另請參閱java路徑,如果它正確設置。有時它搞砸了。