在r中获取.csv文件的表格名称
读取.csv文件的表格(从readr_example()。)。这是我尝试的(使用rstudio桌面):
IAM正在寻找一种简化的方法来
readr_example() [1] “挑战csv” “ chickens.csv”“ epa78.txt”“ example.log”
[5]“ fwf-sample.txt”“ Massey-rating.txt”“ mtcars.csv”“ mtcars.csv.bz2”
[9]“ mtcars.csv.zip”“ whitespace-sample.txt”
列出了单个表格的名称“挑战”。
excel_sheets(readr_example(“挑战csv”)) 错误:无法确定输入是XLS或XLSX。
有人有建议吗?
Iam looking for a simplified way to read sheets names from .CSV files("challenges.csv" from readr_example(). ), this is what i have tried(with RStudio desktop) :
list of sample files
readr_example()
[1] "challenge.csv" "chickens.csv" "epa78.txt" "example.log"
[5] "fwf-sample.txt" "massey-rating.txt" "mtcars.csv" "mtcars.csv.bz2"
[9] "mtcars.csv.zip" "whitespace-sample.txt"
list the names of the individual sheet "challenge.csv" with function read_excel()
excel_sheets(readr_example("challenge.csv"))
Error: Can't establish that the input is either xls or xlsx.
Someone have a suggestion ??
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论