Skip to content

Add global option for scratch path location #15098

Closed

Description

@jthomasmock

As an extension of #14875 -- we should add a per-user/global option for teams that have their home directory in a slow drive environment all the time (ie in server/Workbench).

Activity

  1. added
    new
    on Aug 28, 2024
  2. removed
    new
    on Aug 29, 2024
  3. jthomasmock commented on Sep 5, 2024

    @jthomasmock
    ContributorAuthor

    🚌 Tom

  4. added this to the Kousa Dogwood milestone on Sep 5, 2024
  5. self-assigned this
    on Sep 10, 2024
  6. gtritchie commented on Nov 7, 2024

    @gtritchie
    Member

    Using Mac desktop build 2024.11.0-daily+352):

    • mkdir ~/foo
    • start RStudio, Global Options / General / Advanced: “Default project user data directory” -> ~/foo
    • restart RStudio
    • create a new Project
    • The ~/foo folder contains nothing. Doesn’t appear that the scratch folder is being redirected. I don’t have a per-project folder configured, and don’t have a /etc/rstudio/rsession.conf

    Possibly related to handling of ~ as it works if I specify a path outside user directory, e.g. /tmp/foo.

  7. gtritchie commented on Nov 7, 2024

    @gtritchie
    Member

    Verified.

    The aliased scratch path fix was tested using 2024.11.0-hourly+354 on macOS and I can now specify a scratch path within the home folder. I also checked this on Windows using the same build.

    Testing of the global option being specified in rsession.conf via session-project-user-data-dir= and the session-allow-project-user-data-dir-override setting were validated on Linux (Ubuntu 24) using 2024.11.0-daily+352.

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

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions