运行:
library(xlsx)
write.xlsx(spssdata,"accidents1.xlsx")
`
出现错误:
Error : .onLoad failed in loadNamespace() for 'rJava', details:
call: fun(libname, pkgname)
error: JAVA_HOME cannot be determined from the Registry
Quitting from lines 303-305 (lec01_data.structure.Rmd)
����: package 'rJava' could not be loaded
ִֹͣ��