library(rJava)
Error: when ‘rJava’ is calculated in loadNamespace(), onLoad failed.
call: inDL (x, as the logical (local), as the logical (now),…).
error: unable to load Shared object ‘f:/Program Files/R/R – 3.1.2/library/rJava/libs/x64/rJava DLL’ :
LoadLibrary failure: %1 is not a valid Win32 application.
Error: when ‘rJava’ is calculated in loadNamespace(), onLoad failed.
call: inDL (x, as the logical (local), as the logical (now),…).
error: unable to load Shared object ‘f:/Program Files/R/R – 3.1.2/library/rJava/libs/x64/rJava DLL’ :
LoadLibrary failure: %1 is not a valid Win32 application.
Error: failed to load ‘rJava’ package or namespace,
The reason for the above error is that your JAVA version is 32-bit and your R is 64-bit, so download the 64-bit version of the JRE and change the environment variable JAVA_HOME to the position of the 64-bit JRE
The JRE can be downloaded in the website: http://www.java.com/en/download/manual.jsp
Read More:
- To solve the problem of loading rjava in installation of xlsx
- R: error: package or namespace load failed for ‘rjava’:
- R language loading xlsx error error: JAVA_HOME cannot be determined from the Registry
- R language error messages and related solutions
- R:Error : .onLoad failed in loadNamespace() for ‘rJava’, details: call: dyn.load(file, DLLpa
- Error: package or namespace load failed for ‘rJava’:
- [Mac OS] ASUS z97-k r2.0 + gtx960 + clover v2.4k r4098 install Sierra 10.12.5 problems and Solutions
- Solutions for failure to start Axure RP (including failure to uninstall or install. Net framework)
- Solutions to the failure of importing Python 3.7 SSL module
- R language notes – sample() function
- Installation and use of R language ggmap package
- R language-Error in file(out, “wt”): Unable to open the link problem solved
- R language – path setting and working directory modification
- The sparse matrix of R language is too large to be used as.matrix
- Renaming the column name of data frame in R language
- Solving the problem of saving object set by save() function in R language
- R language error in hist.default ():’x’must be a value
- 13. R language: Error in match.names(clabs, names(xi)): The name is not relative to the original name
- Usage and examples of three important functions of tidyr package in R language: gather, spread and separate
- The most complete collection of solutions to Tortoise SVN Clean up failure