简体   繁体   English

readxl(将excel文件导入R)错误

[英]readxl (import excel file to R) error

When I typed the following line using readxl package, : bluedata <- read_excel("data.xlsx", coffee)当我使用 readxl 包输入以下行时: bluedata <- read_excel("data.xlsx", coffee)

I get the following error: Error in standardise_sheet(sheet, range, sheets_fun(path)) : object 'coffee' not found我收到以下错误:standardise_sheet(sheet, range, sheet_fun(path)) 中的错误:找不到对象“咖啡”

What I want was to import the data in "coffee" sheet of the "data.xlsx" file.我想要的是导入“data.xlsx”文件的“咖啡”表中的数据。 Could any one help me to solve this problem?任何人都可以帮我解决这个问题吗? Thanks!谢谢!

It is cool that you are using readxl package, this is faster than normal way to read outside data.您使用 readxl 包很酷,这比读取外部数据的正常方式更快。

I think you can find the answer yourself by typing我想你可以通过输入自己找到答案

help("read.excel")

or或者

?"read.excel"

I can tell you the answer, but you will met thousands of another problem if you can not find answer on your own我可以告诉你答案,但如果你自己找不到答案,你会遇到成千上万的另一个问题

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM