-
Notifications
You must be signed in to change notification settings - Fork 5
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
How to change .desktop entry on Linux to run R Studio with asdf R? #12
Comments
Related to #7, the Arch Wiki, and Posit, the solution I found was to copy the Then I modified the exec line to be like so
where boomer is the username. Then update your I haven't tested whether this respects the R version in particular directories/projects, but it works well enough for me. Presumably, it might be also helpful to mimic #7 by setting In my testing, adjusting |
So far, I haven't been able to get R-Studio to run with the local version of R. If you start from the root of a R Studio Project directory, asdf loads the version of R listed in the I imagine a fix would involve a change in R Studio's codebase in how it opens projects, but I'm not sure. |
Provide environment information
OS: Linux boomer 5.19.0-46-generic #47~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Wed Jun 21 15:35:31 UTC 2 x86_64 x86_64 x86_64 GNU/Linux SHELL: zsh 5.8.1 (x86_64-ubuntu-linux-gnu) BASH VERSION: 5.1.16(1)-release ASDF VERSION: v0.12.0-816195d ASDF INTERNAL VARIABLES: ASDF_DEFAULT_TOOL_VERSIONS_FILENAME=.tool-versions ASDF_DATA_DIR=/home/boomer/.asdf ASDF_DIR=/home/boomer/.asdf ASDF_CONFIG_FILE=/home/boomer/.asdfrc ASDF INSTALLED PLUGINS: r https://github.com/asdf-community/asdf-r.git master dda1807
To Reproduce
Describe the Bug
R Studio doesn't start-up, presumably because it doesn't detect a version of R. Yet when R Studio is run in the terminal, it presumably detects that it should use the version of R based on asdf and runs
Expected Behaviour
R Studio should start using the version of R listed as global by asdf.
The text was updated successfully, but these errors were encountered: