posit-dev / posit-dev/positron

Mismatch between compiled packages and R: "package or namespace load failed in dyn.load"

Open
#3,732 29 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

area: kernels investigate lang: r support
Dominant language
TypeScript
Stars
4.3k
Forks
184
Avg merge
1d 11h
Merged PRs (30d)
206

Description

Hello,
thanks for this new IDE. I was expecting this for so long time.
First try here on macOS Sonoma 14.3.1. Intel (macBookPro)

I am using vscode for 1 year now and everything run smootlhy.
After Positron install, I try to load some libraries but it fails.
I checked the R version and .libPaths and both IDE have the same values.

Here the error message :

image

What can I do?

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

The report names macOS Sonoma, R, .libPaths, and a dyn.load package-load failure, but no repository file or test. Start by reproducing the failure in Positron while comparing the R version and .libPaths with VS Code; done means identifying a reproducible cause and documenting a verified fix.

Written by the indexing model from the issue text.

Assessment

Tech stack
macos, r
Domain
developer-experience, tooling
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.