1.问题:
安装xlsx packages 时报错:
Make sure you have Java Development Kit installed and correctly registered in R.
If in doubt, re-run “R CMD javareconf” as root.
ERROR: configuration failed for package ‘rJava’
解决:
手动下载安装rJava和xlsxjars
apt-get install r-cran-rjava
apt-get install r-cran-xlsxjars
结果
* DONE (xlsx)