Skip to content

Auto-save feature conflicts with cloud storage (Dropbox etc) #3837

Closed

Description

@DesiQuintans

This is a known issue that has been raised in the past (1 and 2 among others), but it doesn't seem to exist on this Issues tracker.

If you are editing a Rmd file that is stored in a cloud storage folder like Dropbox, RStudio's auto-save feature raises this error popup:

Save File: The process cannot access the file because it is being used by another process

This popup shows itself frequently and is very annoying because it takes focus away from the editor.

Please provide an option to edit the auto-save frequency and to disable auto-save entirely. Thanks!

Activity

  1. kevinushey commented on Nov 7, 2018

    @kevinushey
    Collaborator

    Presumedly telling Dropbox to ignore the .Rproj.user folder would work as well. Is that an option?

  2. DesiQuintans commented on Nov 7, 2018

    @DesiQuintans
    Author

    Unfortunately, there’s no such thing as a .dropboxignore file. Dropbox syncs all files that are inside it, even symlinked files. Dropbox has explicitly said it won’t add this, so giving RStudio users control over auto-saving is the way forward.

  3. changed the title [-]Auto-save feature conflicts with cloud storage (DropBox etc)[/-] [+]Auto-save feature conflicts with cloud storage (Dropbox etc)[/+] on Nov 7, 2018
  4. jackbrookes commented on Feb 13, 2019

    @jackbrookes

    This basically makes RStudio unusable for me. VSCode doesn't have this issue. Just give us an option to disable the annoying popup

  5. DesiQuintans commented on Mar 21, 2019

    @DesiQuintans
    Author

    Just wanting to bring this up again because I have gotten this popup 5-10 times in the last half hour and it's driving me mental! I have temporarily disabled Dropbox for now, but that is not a long-term solution. Please let me just turn off auto-saving or disable the pop-up.

  6. added this to the v1.3 milestone on Mar 21, 2019
  7. jwijffels commented on Feb 7, 2020

    @jwijffels

    This is indeed really annoying. I'm considering swithing to VSCode. Can you tell me how to switch off in the Rstudio Options > Code > Saving tab? I'm using version 1.3.776. Saving an .R file still gives me a lot of these popups Save File: The process cannot access the file because it is being used by another process
    This setting below does not seem to do the trick. What should be done to exclude these annoying popups.
    image

  8. DesiQuintans commented on Feb 9, 2020

    @DesiQuintans
    Author

    Yes, I work entirely inside my Dropbox folder for nearly everything I do, and RStudio is the only software package that finds it necessary to remove focus from me to tell me about this kind of background process.

    The new Preview release with the auto-save options does a lot to minimise this, but not entirely. Whenever I hit Save, I would say that there is a 1-in-3 chance that I will get the file being used by another process popup. Sometimes I have to try to save 2 or 3 times before it actually takes: Save → Popup → Spacebar → Save → Popup → Spacebar → Save.

    Perhaps RStudio can do all of this silently in the background? Say, automatically and silently retry saving a few times before giving me a (now justified) error popup?

  9. tmcduff commented on May 8, 2020

    @tmcduff

    Verified Version: 1.3.957-4with Dropbox. Autosave using the 3 Idle options and 500,1500 & 5000ms options.

  10. arencambre commented on Jun 15, 2020

    @arencambre

    This did not resolve the issue for Google Drive. I opened #7131.

  11. ra-barber commented on Feb 4, 2021

    @ra-barber

    Did anyone manage to solve this? I have exactly the same error, only when using Rstudio on windows as well. Ubuntu works fine and doesn't give me this annoying pop up.

  12. ra-barber commented on Feb 4, 2021

    @ra-barber

    Looks like it's because I was using R studio 1.4 for Ubuntu, and 1.2 for windows. Just happened to be around the release of 1.4 that i started using projects!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions