Closed bradSchrage closed 2 years ago
XLConnect absolutely different package and works completely independent from excel.link. Could you run the following code:
library(excel.link)
xl[a1]
Will it work without errors?
Sorry @gdemin , you are correct XLConnect is entirely different. I have a script that uses both. excel.link is what I use to open the ".xls" files in the batch.
When I run the script above to test, my R session aborts. I had no problems with R 3.6, but after updating to R 4.0, this no longer works.
I upgraded my system to R4.0 and reproduce this issue. It seem there is an incompatibility with new R. I will try to fix it as soon as possible.
@gdemin
Have you been able to see this resolved yet? I find myself in a similar problem where I am trying to save an encrypted file: xl.save.file(iris,"iris.xlsx", password = "pass")
and I get a fatal error, or when I am trying to read in a different file: test_prot_df <- xl.read.file("file.xlsx", password = "mypassword")
Either way whenever I am using any function from the package on a password protected workbook it throws an error and crashes. I am currently using the R version 4.0.2 (2020-06-22) on a windows 10
@drcox633 This is issue #24. By now I don't know how to fix it and wait for updated version of the RDCOMClient version.
Any news on this issue?
@mrbeachgrove
Any news on this issue?
There is fork of RDCOMClient which fixes this issue - https://github.com/BSchamberger/RDCOMClient I try to integrate it in the excel.link but currently it don't even compile on my system.
It seems bug was fixed with version 0.9.10 at 2021-11-02
When opening any Microsoft 97-2003 worksheet that is password protected with xl.read.file(), R aborts with a fatal error. I've updated packags
There is an error when updating XLConnectJars stating that it is not available in R 4.0 and I wonder if that is the issue.