Skip to content

Error about "file exists" when opening a project #609

Description

@bioteamMichael

I just updated R via homebrew, and now when I launch the RStudio IDE on my mac and open an existing project I get

Warning message:
In file.symlink(from, to) :
  cannot symlink '/usr/local/Cellar/r/4.0.2_1/lib/R/library/base' to '/Users/mike/src/work/gRED/packrat/lib-R/x86_64-apple-darwin19.5.0/4.0.2/base', reason 'File exists'

I'm assuming that this is something with the update to R, since the symlink exists but points to the old version of R I had:

$ ls -l /Users/mike/src/work/gRED/packrat/lib-R/x86_64-apple-darwin19.5.0/4.0.2/base
lrwxr-xr-x 1 mike staff 44 Jun 23 21:58 /Users/mike/src/work/gRED/packrat/lib-R/x86_64-apple-darwin19.5.0/4.0.2/base -> /usr/local/Cellar/r/4.0.2/lib/R/library/base

Running packrat::restore() didn't seem to help out any.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions