Multiple R sessions and package development linking #6588
-
Thank you for the development of Positron! I just started using it, and relly enjoy it. First, I appreciate being able to have multiple folders opened in the workspace. With Positron, I no longer need two separate RStudio sessions: one for a package I'm developing and another for a project that uses the package. In R Studio, the current workflow involves running Now with Positron, I can open two folders in the same workspace! Which is great, but I still only have access to one active R console/session at a time. I need to change which directory is active in the console using the "Working Directory in Active Console" setting. This is an improvement over having two separate RStudio sessions, but I still have to install the package locally, switch the active console (losing the current environment variables and workspace objects), and then load the package in the project. I believe having multiple R sessions open simultaneously within the same Positron workspace would be a valuable IDE feature for package developers (who use their packages in other local projects). This seems directly related to IDE functionality, similar to how multiple terminals can be opened with different working directories. Now, and not entirely sure how this relates to IDE development specifically, I'm also curious about whether implementing a package linking mechanism for local development might be possible. This would create a development-time dependency that points directly to the local package source, eliminating the need for repeated installation operations and R session restarts. In npm terms, this is similar to the functionality provided by Thank you again for this great new IDE! |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 1 reply
-
Thank you so much for the kind words! 🙌 For multiple R sessions, I am happy to share that we currently have work in flight; you may be interested in following along at #5990 and being an early user when this becomes available in a release build. We would appreciate your feedback if you are willing to try it out! We don't currently have plans for a linking mechanism like you describe, but that's an interesting idea for us to consider for future work. |
Beta Was this translation helpful? Give feedback.
-
Just hearing about your workflow @bdbmax, regardless of what IDE you're using, are you aware of |
Beta Was this translation helpful? Give feedback.
Thank you so much for the kind words! 🙌
For multiple R sessions, I am happy to share that we currently have work in flight; you may be interested in following along at #5990 and being an early user when this becomes available in a release build. We would appreciate your feedback if you are willing to try it out!
We don't currently have plans for a linking mechanism like you describe, but that's an interesting idea for us to consider for future work.