BiocManager
BiocManager copied to clipboard
Vignette: Neater way of passing R_LIBS_USER on MS Windows
The vignette suggests to use:
https://github.com/Bioconductor/BiocManager/blob/ff48728b9a3bcc00e4013c9d2ec9e7e0d1c97b96/vignettes/BiocManager.Rmd#L248
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 ¯\_(ツ)_/¯ (https://github.com/HenrikBengtsson/Wishlist-for-R/issues/110)