Last active
January 6, 2016 18:43
-
-
Save komalsrathi/dfdf109b15721f36c1d8 to your computer and use it in GitHub Desktop.
create .Rprofile in your home directory
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# No need to specify repos to install a CRAN package | |
cat("Setting R repository:http://cran.case.edu\n") | |
repo = getOption("repos") | |
# set up the server from which you will download the package. | |
repo["CRAN"] = "http://cran.case.edu" | |
options(repos = repo) | |
rm(repo) | |
# load BiocInstaller/biocLite when R starts | |
# you can now directly install bioconductor packages using biocLite('package-name') | |
# no need to load biocLite explicitly | |
cat("Loading BiocInstaller:\n") | |
library(BiocInstaller) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment