Are you using a cloud-hosting-service such as Dropbox for your projects? If so that might interfere with RStudio. See here and here, two older posts on this forum.