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
Copy file name to clipboardExpand all lines: book/r-packages.qmd
+6-5Lines changed: 6 additions & 5 deletions
Original file line number
Diff line number
Diff line change
@@ -31,14 +31,15 @@ There are a few ways to get around this.
31
31
32
32
### Default CRAN repository
33
33
34
-
The default CRAN repository is set in ${R_HOME}/etc/Rprofile.site and the CRAN environmental variable to
34
+
The default CRAN repository is set in `${R_HOME}/etc/Rprofile.site` and the CRAN environmental variable is set to the date pinned version associated with the R version in the image. For example, `https://p3m.dev/cran/__linux__/jammy/2024-10-30`.
35
+
36
+
To set a different repo, edit `${R_HOME}/etc/Rprofile.site` if you are changing an image or `~/.Rprofile` if setting user defaults:
0 commit comments