When I update R packages, too much time is taken because they need to be compiled. I understand that this can be avoided by choosing the posit package manager because this uses binary instead of the source packages. I would like to how I can change the settings in R studio. I have tried to use the following command:
setRepositories(addURLs = c(Posit= "https://packagemanager.posit.co/cran/__linux__/jammy/latest"))
But this does not change the setting in Global Options. I am also not able to change this to be the primary repository. Please let me know what I should do.
Add an "options" command like
options(repos = c(REPO_NAME = "https://packagemanager.posit.co/cran/__linux__/jammy/latest"))
To your Rprofile.site
or .Rprofile
files
This topic was automatically closed 42 days after the last reply. New replies are no longer allowed.
If you have a query related to it or one of the replies, start a new topic and refer back with a link.