Rstudio和Google云端硬盘同步问题:“该进程无法访问该文件,因为该文件正在被另一个进程使用". [英] Rstudio and Google Drive Syncing Problems: "The process cannot access the file because it is being used by another process"

查看:302
本文介绍了Rstudio和Google云端硬盘同步问题:“该进程无法访问该文件,因为该文件正在被另一个进程使用".的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

因此,我正在使用RStudio并将文件存储在Google云端硬盘(系统上带有文件夹的版本,就像Dropbox一样).我之所以使用它,是因为它提供了比Dropbox更多的免费空间,而我需要的空间用于我正在处理的项目.

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.

当我尝试编写任何文档时-R脚本,RMarkdown文件等...-出现标题中提到的错误.使用Dropbox不会发生这种情况.我已经找到了针对Dropbox的此问题的答案,但是解决方案(告诉Dropbox不同步Rproj文件)似乎不适用于Google云端硬盘(如果适用,请更正我).

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).

目前,我正在暂停Google云端硬盘,这很好,但是我经常忘记恢复它,这会引起头痛.

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

感谢您的帮助!

推荐答案

我也已经有很长时间了.最简单的解决方案是在RStudio中工作时退出/关闭GoogleDrive.您将不会有正在进行的备份,但是无论如何这不是一个大问题.您仍然可以在午休期间或一天后同步到驱动器.这也可能解决许多人遇到的其他问题.全面的GoogleDrive可能不是最好的备份解决方案.我认为拥有仅用于电子邮件和随机共享文档(15-100 Gb)的驱动器仍然是一个好主意,但是对于认真备份(至少1 Tb),DropBox或其他解决方案可能是更可取的.

I also have been having this problem for a long time. The simplest solution is to quit/turn off GoogleDrive when working in RStudio. You are not going to have ongoing backups but it is not such a huge issue anyway. You can still sync to your drive during the lunch break or after the day. This might solve also the other issues that many people are having. All-in-all GoogleDrive is probably not the best backup solution. I think having the Drive just for e-mails and random shared documents (15-100 Gb) is still a good idea but for serious backing-up (at least 1 Tb) probably DropBox or some other solution is preferable.

这篇关于Rstudio和Google云端硬盘同步问题:“该进程无法访问该文件,因为该文件正在被另一个进程使用".的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
相关文章
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆