You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Thanks for the request, and sorry for the quiet — here's the reason.
Shipping the Positron editor itself is straightforward: there's an official .deb we could wrap. The problem is using the R you've installed on the host. Positron's R console runs through the ark kernel, which loads R's shared library (libR.so) into its own process. Inside the sandbox, the host's libR.so and the system libraries it links against (BLAS, ICU, etc.) aren't available, and they wouldn't match the Flatpak runtime anyway. That's different from VS Code, where a terminal or flatpak-spawn --host is enough to reach host tools.
So the only ways I can see are to bundle R inside the sandbox, which would also need to cover the system libraries user-installed R packages compile against, or to run the kernels on the host from outside the sandbox. Both are substantial, and I haven't found a clean way to do either, so this is on hold for now.
In the meantime, installing the official .deb inside a distrobox/toolbox container works on atomic distros, with R and Positron in the same container.
Would it be feasible to publish this without bundling R regardless for testing purposes? Afaik the R path can be changed in the settings. Maybe by giving read permissions it'll be usable
Unfortunately read access isn't enough. Pointing Positron at the host's R means ark loads the host's libR.so, and that library depends on host libraries (BLAS, ICU, readline, gfortran) that aren't visible inside the sandbox and would clash with the runtime's glibc if forced in. The R launcher script also hardcodes /usr/lib/R, which inside the sandbox is the runtime, not your system. So a build without R would most likely fail as soon as the R console starts, and I'd rather not publish a package that's broken out of the box.
I'm closing this as not planned for now. The distrobox/toolbox route with the official .deb is still the best option on atomic distros. If Positron ever gains a way to run its kernels outside the editor process, I'm happy to revisit.
Activity
jing2uo commentedon Sep 30, 2026
Thanks for the request, and sorry for the quiet — here's the reason.
Shipping the Positron editor itself is straightforward: there's an official
.debwe could wrap. The problem is using the R you've installed on the host. Positron's R console runs through the ark kernel, which loads R's shared library (libR.so) into its own process. Inside the sandbox, the host'slibR.soand the system libraries it links against (BLAS, ICU, etc.) aren't available, and they wouldn't match the Flatpak runtime anyway. That's different from VS Code, where a terminal orflatpak-spawn --hostis enough to reach host tools.So the only ways I can see are to bundle R inside the sandbox, which would also need to cover the system libraries user-installed R packages compile against, or to run the kernels on the host from outside the sandbox. Both are substantial, and I haven't found a clean way to do either, so this is on hold for now.
In the meantime, installing the official
.debinside a distrobox/toolbox container works on atomic distros, with R and Positron in the same container.Aman9das commentedon Sep 30, 2026
Would it be feasible to publish this without bundling R regardless for testing purposes? Afaik the R path can be changed in the settings. Maybe by giving read permissions it'll be usable
jing2uo commentedon Oct 15, 2026
Unfortunately read access isn't enough. Pointing Positron at the host's R means ark loads the host's libR.so, and that library depends on host libraries (BLAS, ICU, readline, gfortran) that aren't visible inside the sandbox and would clash with the runtime's glibc if forced in. The R launcher script also hardcodes /usr/lib/R, which inside the sandbox is the runtime, not your system. So a build without R would most likely fail as soon as the R console starts, and I'd rather not publish a package that's broken out of the box.
I'm closing this as not planned for now. The distrobox/toolbox route with the official .deb is still the best option on atomic distros. If Positron ever gains a way to run its kernels outside the editor process, I'm happy to revisit.
Aman9das commentedon Oct 15, 2026
Understandable thanks