Install R libraries

The latest R version is 3.3.2 at the time of writing. Type R to start the R environment.

R version 3.3.2 (2016-10-31) -- "Sincere Pumpkin Patch"
Copyright (C) 2016 The R Foundation for Statistical Computing
Platform: x86_64-pc-linux-gnu (64-bit)

R is free software and comes with ABSOLUTELY NO WARRANTY.
You are welcome to redistribute it under certain conditions.
Type 'license()' or 'licence()' for distribution details.

  Natural language support but running in an English locale

R is a collaborative project with many contributors.
Type 'contributors()' for more information and
'citation()' on how to cite R or R packages in publications.

Type 'demo()' for some demos, 'help()' for on-line help, or
'help.start()' for an HTML browser interface to help.
Type 'q()' to quit R.

>

Within the R console, enter following to initiate Bioconductor:

Use biocLite()

To install or update Bioconductor packages Biobase and qvalue, and CRAN package cluster enters biocLite(c("cluster","Biobase","qvalue"))

R will ask you if you wish to install these in your personal library in ~/R. Type "y" to both questions.

When completed, R will prompt you if you wish to update other packages. Choose "n" to skip this step to save time.

Install from source

You can usually use biocLite() to install Bioconductor packages. But, if R version you are using is out-dated, the packages that can be installed using biocLite() will also be of older versions. Therefore, in this case, you may choose to install the packages from source. Below I showed how you can install limma and edgeR from package sources from http://bioconductor.org/.

To install limma, run the following command in R:

Install limma v3.30.2 without error:

To install edgeR, run the following command in R:

Install edgeR v3.16.1 without error:

Use sessionInfo() to print version information about R and attached or loaded packages. This information is useful when providing bug report to package developers.

Enter q() to exit the R console. Enter "n" to not save the workspace as an image.

Last updated

Was this helpful?