Rstudio and Google Drive Syncing Problems: "The process cannot access the file because it is being used by another process" : <p>So I'm using RStudio and storing my files on Google Drive (the version with folders on your system, acting like Dropbox). I'm using it because it provides a lot more space for free than Dropbox, and I need that space for the projects I'm working on.</p>

<p>When I attempt to write any document at all -- an R script, an RMarkdown file, etc... -- I get the error mentioned in the title. This doesn't happen using Dropbox. I have found answers for this question for Dropbox, but the solution (tell Dropbox not to sync the Rproj file) doesn't seem applicable to Google Drive (if it is, please correct me). </p>

<p>Currently, I'm pausing Google Drive, which is fine, but I often forget to resume it and that causes headaches.</p>

<p>Thanks for your help!</p>
