Forum Discussion
Error in RStudio when setting directory
- 3 years ago
Hi VBeaklini ,
Your working directory seems to be pointing to a file?
Please change it to a folder, such as: setwd("C:/Users/Victor/Desktop/PowerBI/")
Best Regards,
Jianbo Li
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Hi VBeaklini ,
It seems that you want to use setwd() function?
The setwd() function stands for set working directory. This is used to set the working environment.
Please check your spelling, it is setwd() not setdw()
Best Regards,
Jianbo Li
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Holy crap i´m so dumb. Thanks.
However now that i set thing correctly i now run into this new error:
setwd("C:/Users/Victor/Desktop/PowerBI/VendasR.csv")
Error in setwd("C:/Users/Victor/Desktop/PowerBI/VendasR.csv") :
cannot change working directory
Any thoughts?