Fix R Error: ‘\U’ used without hex digits in character string starting “”C:\U” | Replicate and Solve

preview_player
Показать описание
R code of this video:

setwd("C:\Users\Joach\Desktop") # Trying to set working directory

setwd("C:/Users/Joach/Desktop") # Exchange backslash with slash

getwd() # Check working directory

Follow me on Social Media:

Рекомендации по теме
Комментарии
Автор

Thanks for your very useful videos. I have a question if you let me.

Do i have to make the changes to the slashes manually? Is there a way in Windows to copy a a folder bath in the form that R can understand?
Thanks again

qya.
Автор

hello,
i get this error when starting my file. and my wd is not using \. but i still have this problem. pls help

Error: '\U' used without hex digits in character string (<input>:4:36)
[Workspace loaded from D:/Datacamp/R Introduction/.RData]

diazfikryag
visit shbcf.ru