Error setwd() "cannot change working directory"

I get "cannot change working directory" error when I try to path my file.:

setwd("C:\Users\alimo\Desktop\DataVisualizationwithggplot2.R")
*Error: '\U' used without hex digits in character string starting ""C:\U"*

then I did it

options(PACKAGE_MAINFOLDER="C:/Users/...")

then I replaced all " \ " to "/" but I got it this time:

cannot change working directory

please help me.

This topic was automatically closed 21 days after the last reply. New replies are no longer allowed.