【发布时间】:2020-03-03 04:13:48
【问题描述】:
现在我遇到了 R 的问题。我无法在我的 PC 中使用库 openxlsx。当我尝试导入时,这些错误告诉我:
Error: package or namespace load failed for ‘openxlsx’:
object ‘zipr’ is not exported by 'namespace:zip'
任何人都建议我一些不同的方法来以 xlsx 格式保存文件。我试过writexl 包,但是我不知道如何将文件保存在单独的工作表中,这个包中函数 write_xlsx 的描述只告诉我这个:
write_xlsx(
x,
path = tempfile(fileext = ".xlsx"),
col_names = TRUE,
format_headers = TRUE
)
【问题讨论】: