> Library (xlsx) Error:package or namespace load failed for ' xlsx ': Loadnamespace () in the ' Rjava ' when. OnLoad failed, details: call: Fun (Libname, pkgname) error: Java_home cannot be determined from the Registry> library (Rjava) error:package or Namespa Ce load failed for ' Rjava ': Loadnamespace () in the ' Rjava ' when. OnLoad failed, details: Invoke: Fun (Libname, pkgname) error: Java_home Cannot is determined from the registry> install.packages ("Rjava") trying URL ' Https://mirrors.tongji.edu.cn/CRAN/bin /windows/contrib/3.5/rjava_0.9-10.zip ' Content type ' application/zip ' length 826966 bytes (807 KB) downloaded 807 Kbpackage ' Rjava ' successfully unpacked and MD5 sums checkedthe downloaded binary packages is INC:\USERS\MUZHITIEHE\APPDA Ta\local\temp\rtmp6xz8md\downloaded_packages
An attempt to invoke the XLSX package failed, first installing xlsx, after Rjava, causing Loadnamespace () to calculate ' Rjava ' when. OnLoad failed.
Network reference:
Java environment installation, if the Java installation is 64 bits using R software must be 64 bit, if using 32 bit will error, version must correspond.
2. Installation order if Install.packages ("Rjava")
Install.packages ("Xlsxjars")
Install.packages ("xlsx")
3. If the installation is not installed in the order of installation 2, although Rjava or xlsxjars packages are downloaded, but is not installed on the xlsx, this time you can choose to the R installation directory in the library to find Rjava or xlsxjars deleted, Re-install on the R console.
4. If the display Rjava installation is turned on and cannot be installed, you can use (. Packages ()) to view the currently loaded installation package, discover that Rjava is loaded, and use Detach ("Package:rjava") to uninstall the installation package. Then the install will be executed.
From 75386673
The installation and loading details of the Rjava package are also available.
R installation package encountered a problem (a) loadnamespace () in the "Rjava" when. OnLoad failed Rjava package installation and onboarding