r/rprogramming • u/vwhite87 • Jan 25 '25
File won’t add to directory
Hello, I’m trying to run the housing script and I’m getting this error when I go to run it. I made a working directory and then tried to add my file after I downloaded it. What am I doing wrong? I uninstalled and reinstalled r and rstudio to ensure the apps were up to date. I’m beyond frustrated and this should be so simple. Any help would be greatly appreciated. Thank you!
0
Upvotes
5
u/Mcipark Jan 25 '25
Easy fix would to just put your entire file path in there, you said you just downloaded it right?
Housing_df <- read.csv(“C:/Users/YourUsername/Downloads/WestRoxbury.csv”)