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
RStudio Edition : Desktop
RStudio Version : RStudio Desktop Pro 2024.04.0 Build 735.pro3 "Chocolate Cosmos" Release (c994988f, 2024-04-24)
OS Version : Windows 11 Edu
R Version : 4.4.0
Steps to reproduce the problem
create a ~/.Rprofile
create a RStudio project "A" with its local .Rprofile
Open project A (it will use its .Rprofile)
with project A still opened, open a new RStudio session out of any project. The bug is that it will use the .Rprofile of project A and not the user ~/.Rprofile.
Describe the problem in detail
I have set up RStudio to not enter any project automatically at startup.
So, I have also created an out-of-project ~/.Rprofile to work outside of any projects.
So, if I open RStudio, the ~/.Rprofile file will be loaded, as expected.
Next, if I open an RStudio project on a different session/window, the new project will open correctly, loading its own path/to/proj/.Rprofile file at startup. Now I have two instances of RStudio: out-of-project and proj.
The issue is that if I restart the R session on the out-of-project RStudio instance at that moment, it loads the path/to/proj/.Rprofile file instead of the ~/.Rprofile one.
Attached:
A screen video of the procedure generating the issue
The diagnostic report was produced after the procedure was recorded.
Contacted Posit support (Ticket #104756), they asked me to open an issue, and to refer this to #13922
Describe the behavior you expected
The out-of-any-project session should always use ~/.Rprofile
System details
Steps to reproduce the problem
~/.Rprofile
.Rprofile
.Rprofile
).Rprofile
of project A and not the user~/.Rprofile
.Describe the problem in detail
I have set up RStudio to not enter any project automatically at startup.
So, I have also created an out-of-project
~/.Rprofile
to work outside of any projects.So, if I open RStudio, the
~/.Rprofile
file will be loaded, as expected.Next, if I open an RStudio project on a different session/window, the new project will open correctly, loading its own
path/to/proj/.Rprofile
file at startup. Now I have two instances of RStudio: out-of-project and proj.The issue is that if I restart the R session on the out-of-project RStudio instance at that moment, it loads the
path/to/proj/.Rprofile
file instead of the~/.Rprofile
one.Attached:
Contacted Posit support (Ticket #104756), they asked me to open an issue, and to refer this to #13922
Describe the behavior you expected
The out-of-any-project session should always use
~/.Rprofile
The text was updated successfully, but these errors were encountered: