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

Chapter 8.4: Example for path expansion #71

Open
moritzkoerber opened this issue Jun 9, 2021 · 0 comments
Open

Chapter 8.4: Example for path expansion #71

moritzkoerber opened this issue Jun 9, 2021 · 0 comments
Labels
radmin personal R administration

Comments

@moritzkoerber
Copy link

moritzkoerber commented Jun 9, 2021

Thanks for the great chapter 8.4 How to transfer your library when updating R, it helped me a lot to do a clean update! I stumbled upon one line in it, maybe you could consider clarifying it:

"You can also alternatively set R_LIBS_USER to a different path; but make sure to include the %v wildcard. e.g. ~/R/library/%v. The %v is automatically expanded to the major and minor version of R, so with R 3.5.1 this path becomes ~/Library/R/3.5/library."

While ~/Library/R/3.5/library is, of course, the default for R_LIBS_USER with R 3.5.1 (as explained in the chapter before), it sounds to me like "this path" refers to the given example,~/R/library/%v, which would expand to ~/R/library/3.5.

@edavidaja edavidaja added the radmin personal R administration label Jun 11, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
radmin personal R administration
Projects
None yet
Development

No branches or pull requests

2 participants