I was trying to change my working directory from the default one in R. I tried both
setwd('~/Users/Weindependent/Desktop/GSE/EDU 767/Assignment') and setwd('Users/Weindependent/Desktop/GSE/EDU 767/Assignment')
but still get the error
Error in setwd("/Users/Weindependent/Desktop/GSE/EDU 767/Assignment") : cannot change working directory
I also tried to define
workdirec <- "/Users/Weindependent/Desktop/GSE/EDU 767/Assignment" setwd(workdirec)
but still get the same error
What is the problem?