path does not exist

i can not get a excel file to work as my dataset, it gives me path does not exist or path must be a string.

You are simply providing an incorrect path to your file or making a syntax error. Can you show the code you are using?

1 Like

idk if its the better way to do or im justmaking it harder onmyelf its the second time I have used "R".
setwd("C:\Encuesta_Banco.xlsx")
i just copy as path when i select the file

You could use file.choose() for select the correct path and put in the function read_excel()

file.choose() # select file

library(readxl)
DT <- read_excel("your_path")

thanks. I already found what the problem was.

This topic was automatically closed 7 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.