Rstudio 和 Google Drive 同步问题:“该进程无法访问该文件,因为它正被另一个进程使用"

编程入门 行业动态 更新时间:2024-10-27 23:20:04
本文介绍了Rstudio 和 Google Drive 同步问题:“该进程无法访问该文件,因为它正被另一个进程使用"的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧! 问题描述

所以我使用 RStudio 并将我的文件存储在 Google Drive(系统上带有文件夹的版本,就像 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 Drive(如果是,请纠正我).

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 Drive 同步问题:“该进程无法访问该文件,因为它正被另一个进程使用"

本文发布于:2023-11-10 05:59:52,感谢您对本站的认可!
本文链接:https://www.elefans.com/category/jswz/34/1574537.html
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
本文标签:进程   因为它   该文件   无法访问   Google

发布评论

评论列表 (有 0 条评论)
草根站长

>www.elefans.com

编程频道|电子爱好者 - 技术资讯及电子产品介绍!