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 ,
There can be a lot of reasons for which such an error might occur in R. Some of the reasons are the following:
- When the file path name is misspelled.
- Invalid characters are used in the file path.
- We do not have permission to access a particular file path.
- File exists but there are some other restrictions that exist for compilers.
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.
Okay, it can´t be the first two since i read and reread and corrected and recorrected it so many times. As for permission to access a file and compiling restrictions, how do i check for those? It´s a simple file in a simple folder on my personal computer, so there shouldn´t be any issues regarding permission. As for compilers, i don´t know what that means.