Skip to content
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

Incorrect PATH set on RStudio Mac #14659

Open
thomasp85 opened this issue May 6, 2024 · 1 comment
Open

Incorrect PATH set on RStudio Mac #14659

thomasp85 opened this issue May 6, 2024 · 1 comment

Comments

@thomasp85
Copy link

System details

RStudio Edition : Desktop
RStudio Version : 2024.04.0+735
OS Version      : macOS 14.4.1
R Version       : 4.3.2

Steps to reproduce the problem

The PATH that RStudio starts up with is not the path of the default shell (zsh)

> Sys.getenv("PATH")
/bin:/usr/bin:/usr/ucb:/usr/local/bin:/Applications/quarto/bin:/Library/TeX/texbin:/usr/texbin:/Applications/RStudio.app/Contents/Resources/app/bin/postback:/Applications/RStudio.app/Contents/Resources/app/bin/postback

vs

▶ echo $PATH
/opt/homebrew/bin:/opt/homebrew/sbin:/usr/local/bin:/System/Cryptexes/App/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/local/bin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/bin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/appleinternal/bin:/opt/X11/bin:/Library/Apple/usr/bin:/usr/local/MacGPG2/bin:/Applications/VMware Fusion.app/Contents/Public:/Applications/quarto/bin:/opt/homebrew/bin:/opt/homebrew/sbin:/Users/thomas/Applications/quarto/bin:/Library/TeX/texbin:/usr/texbin:/Applications/RStudio.app/Contents/Resources/app/bin/postback

This has started happening fairly recent (within this year) without me having done anything obviously to affect the PATH

@thomasp85 thomasp85 added bug new New incoming issues, ready for initial review. labels May 6, 2024
@kevinushey kevinushey removed the new New incoming issues, ready for initial review. label May 6, 2024
@kevinushey kevinushey added this to the Cranberry Hibiscus milestone May 6, 2024
@bbitarello
Copy link

bbitarello commented May 8, 2024

I can confirm this is the case for me as well (except my default shell is bash). I wonder if this has something to do with my RStudio startup issue #14622 ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants