Ask a Question
Ask Question Login
Corporate Training
  1. Community
  2. Data Science
  3. Question
Data Science

Starting R: Error: '\U' Used Without Hex Digits In Character String Starting “”C:\U"

Asked by Aaditya Srivastva Nov 21, 2022 3.4K views 2 answers
Share

About this question

I run R on Windows and have a CSV file on the Desktop. I load it as follows,

x<-read.csv("C:UserssurfcatDesktop2006_dissimilarity.csv",header=TRUE)
but the R gives the following error message
Error: 'U' used without hex digits in character string starting "C:U"

So what's the correct way to load this file? I am using Vista

Your answer

2 Answers

Jaime Delgado Latest answer

Answered on Jul 24, 2026

Use forward slashes (`/`) or double backslashes (`\`) in the file path, because a single backslash is treated as an escape character in R. Looking for a game that tests both focus and reflexes? Geometry Dash is the answer because it always keeps me motivated.

Was this helpful?

More Data Science discussions

Learn & Explore

Free tutorials and interview questions from industry experts — learn the skill, then get ready to prove it.

Latest Data Science Blogs

Guides, tips and career advice on Data Science from JanBask experts.