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
I'm I correct that this behavior is unexpected? How should I add a repo that persists across R sessions? Why does running getOption("repos") in .Rprofile show the repo when running it interactively does not?
Thanks!
The text was updated successfully, but these errors were encountered:
If you don't explicitly set the CRAN repo, it appears that Rstudio overwrites it on load. So you will need to set both repos explicitly in your .Rprofile file e.g.
Starting from a new R session I can add a repo using
drat::add_repo()
as expected.However when I restart R I would expect the repo to remain but it appears to be removed.
I added the following code to my .Rprofile in my user home directory
When I restart R I see
But when I check the repos option I don't see the new repo.
I'm I correct that this behavior is unexpected? How should I add a repo that persists across R sessions? Why does running
getOption("repos")
in .Rprofile show the repo when running it interactively does not?Thanks!
The text was updated successfully, but these errors were encountered: