R语言 运行这一步一直出这个错误 实在不知道错在哪里
setwd("/Users/liaoyu/Desktop/ProblemSet1ARE212")
Error: unexpected input in "setwd("/Users/liaoyu/Desktop/ProblemSet1ARE212")"
hypricedf<-read_dta("Data/pset1_2022.dta")
Error: 'Data/pset1_2022.dta' does not exist in current working directory ('/Users/liaoyu').
报错很明显地指出了是没有找到文件路径,写成带盘符的全路径。
报错日志有没有,有了发给我看看
使用getwd()函数读取当前目录,看一下是怎么写的。