我正在尝试将 xlsb 工作簿中的范围读入数据帧。我可以用 xlsx
来做到这一点吗? R 中的包?如果没有的话,有谁知道有什么办法吗?
最佳答案
查看 excel.link
包 here 。它允许您轻松地写入/读取数据,如下所示:
df<-xl[a1:b2] # if the file is open
或
df<-xl.read.file('filename.xlsb',header=TRUE, top.left.cell="A1") # if the file isn't open
关于r - 如何读取xlsb文件?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/33321505/