Do you run your project on a cloud-storage, e.g. Dropbox?
I also have some frequent errror-messages when running a project on a dropbox folder - it helps to switch off synchronization.
Dropbox and RStudio seem to confuse each other when files are new or changed.