備忘ログ

チラシの裏的備忘録&メモ

RStudioで1.3.959がリリースされて、Google Drive上で作業しているときのトラブルがひとつオプションで解決された

RStudio1.3.959がリリースされた。

リリースノートhttps://rstudio.com/products/rstudio/release-notes/を見ていると

Auto Save

  • Changes automatically (and optionally) saved to disk after a few seconds or when editor loses focus (#5263)
  • Option to disable real-time backup of unsaved changes to avoid conflicts with Google Drive, Dropbox, etc. (#3837)
  • Option to adjust idle interval for backup or saving changes

 とあって、Google Drive上で作業中のファイルでエラーがポップアップする問題が、オプションで解決できるようになった様子。

 

indenkun.hatenablog.com

このトラブル。

いままではオンラインストレージとの同期をやめると問題発生しなくなっていたが、正直正攻法ではなかった。

 

githubでもissuが立っていたのを初めて知った。

github.com

 

んで、今回の1.3.959ではその点が改善されて、オプションを設定するとエラー回避ができるようになった模様。

 

ちょっと探してみたけど公式のドキュメンのが見つけられなかったが、global option > code > saving > Auto-saveのWhen edito is idle: をDo nothingにするといいんだと思う。

 

f:id:indenkun:20200527215910p:plain

pic.1

数分間この設定で、上記バグが再現しなくなった(多分)。