Starting R: Error: '\U' used without hex digits in character string starting “”C:\U"
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
To solve error: 'u' used without hex digits in character string starting "'c:u" you can follow the below common:
x<-read.csv("C:\Users\surfcat\Desktop\2006_dissimilarity.csv",header=TRUE)
OR
x<-read.csv("C:/Users/surfcat/Desktop/2006_dissimilarity.csv",header=TRUE)