R “错误”;找不到函数“;列表“;

R “错误”;找不到函数“;列表“;,r,R,在R中获取以下代码时出错。请帮助 customer<-scan("E:/Data science course/R/practice/customers.csv", what=List(First_name="", Last_name="", City="", county="", state="",zip=0), sep=",", skip=

在R中获取以下代码时出错。请帮助

customer<-scan("E:/Data science course/R/practice/customers.csv",              
          what=List(First_name="",
                    Last_name="",
                    City="", county="", state="",zip=0),
          sep=",", skip=1,)
customer尝试使用list()。列表()不会出现在任何包中。

致以最诚挚的问候

我认为您希望使用
列表
而不是
列表
“1.您是否正确编写了函数名?函数名区分大小写。“
是的,这解决了错误。非常感谢你