Error: '\s' is an unrecognized escape in character string (<input>:1:32)

I want to view this but this is the error I am getting. What is the solution?
GearData <- read.csv("\kermit\shome$\sweldon25\Documents\DataPreparationChapterExercise.csv")
Error: '\s' is an unrecognized escape in character string (:1:32)

Try replacing backslashes ("\") with forward slashes ("/"). If that does not work, try doubling the backslashes ("\\").

1 Like

Other easy way is use file.choose() and select the file. This show the full path on file for copy and paste.
Try.

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.