Import CSV and TXT files on my desktop into R IDE

path <- "C:\Users\user\Downloads\hotel_bookings.csv"
read_csv(C:\Users\user\Downloads\hotel_bookings.csv, col_names = TRUE)

Try

DF <- read_csv("C:/Users/user/Downloads/hotel_bookings.csv", col_names = TRUE)

This topic was automatically closed 21 days after the last reply. New replies are no longer allowed.

If you have a query related to it or one of the replies, start a new topic and refer back with a link.