Error "cannot change working directory"

Hi, I just started using R and I have a problem: I want to open a script in R and when I go to "process scripts or load data into r" I get this error: "cannot change working directory". I'm using the Mac version.
What should I do? Sorry I'm new to R