'Why do I keep getting an error when trying to import my file?

I'm trying to read csv file using R notebook and keep getting this error:

Error: 'Examples/data/starbucks.csv' does not exist in current 
working directory ('C:/Users/c227466/Desktop')

I'm not sure what's going on! This is the code I used:

starbucks <- read_csv("Examples/data/starbucks.csv")
starbucks



Solution 1:[1]

Your working directory is your desktop (which is not recommended). On your desktop, you should add a folder "Examples" and, in it, another folder "data" and your file there.

Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source
Solution 1 Cateded Ur