[run target]
import XLSX file,
install. Packages (” rJava “)
install. Packages (” xlsxjars “)
install. Packages (” XLSXX “)
install
[error prompt]
library (XLSX) Error: package or namespace load failed for ‘XLSX:
loadNamespace counting’ rJava ‘in his (). When the onLoad fails, the detailed content:
call: inDL (x, as the logical (local), as the logical (now),…).
error: unable to load Shared object “d:/Program Files/R/R – 3.5.0/library/rJava/libs/x64/rJava DLL: ‘
LoadLibrary failure: % 1 is not a valid Win32 application.
solution 】 【 1, Java on the website to download the Windows version of the Java software
http://www.oracle.com/technetwork/java/javase/downloads/jdk8-downloads-2133151.html
download download time attention to agree with statement after good Java installation
note:
if R is 64-bit, the installed Java must also be 64-bit and placed in C:\Program Files…
if you install C:\Program Files (x86), the system will continue to report the following error
2, download the Java, and install it, Under CMD, type
set JAVA_HOME=C:\Program Files\Java\jdk1.8.0_171
Path=C:\Program Files\Java\jdk1.8.0_171\bin
you can also manually set
3, finally re-run
library(rJava)
library(xlsxjars)
library(XLSX)
XLSX package imported successfully
Read More:
- R: error: package or namespace load failed for ‘rjava’:
- R language loading xlsx error error: JAVA_HOME cannot be determined from the Registry
- Solutions to the failure of R language loading rjava
- Error: package or namespace load failed for ‘rJava’:
- R:Error : .onLoad failed in loadNamespace() for ‘rJava’, details: call: dyn.load(file, DLLpa
- Aptana studio 3 installation
- Error when opening jeesite project in eclipse
- On the problem of from PIL import image
- Error running Eclipse: failed to load the JNI shared library
- LookupError: Couldn’t find path to unrar library.
- npm start:Module not found: Error: Can’t resolve ‘xlsx’ in ‘/Users/huzhiqi/Downloads/web/…
- Solve the problem of prompt couldn’t find path to unrear library after installing unrear in Python
- AES CBC PKCs × 7 encryption
- Start eclipse and prompt version 1.7.0_ 79 of the JVM is not suitable for this product. Version: 1.8 or greater i…
- Building wheel for wrapt (setup.py) … error
- ImportError: No module named indexes.base
- Package summary of installing python with CONDA
- Scrapy runs a crawler with an error importerror: cannot import name suppress
- Batch error reporting in Java spring
- Python import GDAL failed: DLL load failed. The specified module cannot be found.