我们老师要求用read.table函数在R中导入csv文件,我用的是RStudio,复制黏贴了老师给的代码:grades <- read.table("studentgrades.csv", header=TRUE, row.names="StudentID", sep=",")
在我的电脑上运行后显示:
grades<-read.table("studentgrades.csv",header-TRUE, row.names-"StudentID",sep-",")
Error in file(file, "rt") : cannot open the connection
In addition: Warning message:
In file(file, "rt") :
cannot open file 'studentgrades.csv': No such file or directory
求各位大神指导,这种情况要怎么解决呢