Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

没有"createCOMReference"这个函数 #32

Open
jiangxincode opened this issue Jul 7, 2024 · 2 comments
Open

没有"createCOMReference"这个函数 #32

jiangxincode opened this issue Jul 7, 2024 · 2 comments

Comments

@jiangxincode
Copy link

R version 4.4.1 (2024-06-14 ucrt) -- "Race for Your Life"
Copyright (C) 2024 The R Foundation for Statistical Computing
Platform: x86_64-w64-mingw32/x64
> origin_df <- excel.link::xl.read.file(
+   "E:/Code/doc/data/abc.xlsx",
+   xl.sheet = "salary_stats",
+   password = "abc"
+ )
错误于createCOMReference(<pointer: 0x0000018733c88d48>, "COMIDispatch"): 
  没有"createCOMReference"这个函数
@gdemin
Copy link
Owner

gdemin commented Jul 8, 2024

Sorry, I can't reporduce this bug. Try the newest version of excel.link (0.9.13). It will be available on CRAN in a couple of days. If it won't work, please, attach your xlsx file for reproducibility.

@jiangxincode
Copy link
Author

jiangxincode commented Jul 20, 2024

Thanks for your reply. I find it is OK if i use

library(excel.link)
origin_df <- xl.read.file(
  "E:/Code/doc/data/abc.xlsx",
  xl.sheet = "salary_stats",
)

But it is not OK, if i use

origin_df <- excel.link::xl.read.file(
  "E:/Code/doc/data/abc.xlsx",
  xl.sheet = "salary_stats",
)

so it maybe the rules of R language

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants