I'm installing XLConnect library in R studio but, unable to do so.
I know that this package has java dependency and my R software and java both are 64 bit. Also, both have configured correctly. I have also installed rJava package before installing XLConnect. This package was working properly but, now I'm getting this error.
library(XLConnect)
ERROR: package or namespace load failed for'XLconnect':
.onload failed in loadNamespace() for XLConnect, details:
Call. System2("cat",c("/etc/*-release"), stdout =TRUE, stderr = TRUE) error: ' "cat" not found.
Please help me.
This worked for me: install prior version until they fix this at CRAN:
require(devtools)
install_version("XLConnect", version = "1.0.2", repos = "http://cran.us.r-project.org")
https://github.com/miraisolutions/xlconnect/issues/132 also recommends:
install.packages("XLConnect", type="source", INSTALL_opts = c("--no-multiarch"))
If still relevant, adding rtools
to "path" (system environment variable) worked for me.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With