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

Vignette: Neater way of passing R_LIBS_USER on MS Windows #97

Open
HenrikBengtsson opened this issue Apr 16, 2021 · 0 comments
Open

Vignette: Neater way of passing R_LIBS_USER on MS Windows #97

HenrikBengtsson opened this issue Apr 16, 2021 · 0 comments

Comments

@HenrikBengtsson
Copy link
Contributor

HenrikBengtsson commented Apr 16, 2021

The vignette suggests to use:

- Windows: `cmd /C "set R_LIBS_USER=C:\Users\USER_NAME\Documents\R\3.5-Bioc-3.7 && R"`

to launch R with R_LIBS_USER set that way. Not sure if you've already explored it, but R on Windows actually supports the following:

R R_LIBS_USER="C:\Users\USER_NAME\Documents\R\3.5-Bioc-3.7"

This has the advantage of (a) not having to mention cmd /C and (b) less error-prone since the value is quoted, which is needed for users with spaces in their Windows username.

The downside is that Rscript does not support this ¯\_(ツ)_/¯ (HenrikBengtsson/Wishlist-for-R#110)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant