Skip to content
G. E. Kenney edited this page Dec 1, 2023 · 1 revision

R

Installing R & RStudio

macOS

Current download info

Apple Silicon notes

Recent macs (with Apple Silicon, aka M1/M2/M3/etc. chips) are still a little glitchy. You may need to install some additional tools to get everything to work. This may mean installing XTools (type in sudo xcode-select --install in a Terminal window), or the version of gfortran listed on the tools page, or XQuartz. Occasionally you'll get errors mentioning xz, or zlib, or other things that require installing some specific binaries, as described here. This is an area where things are changing as things get updated to support recent macs; I would google any errors you get in case there is new information.

Access to other tools

If you have installed other tools (like mafft, blast, etc.) installed directly or via a package manager like homebrew, [blah blah $PATH]

Windows

Current download info

WSL

If you want to install other tools like mafft, blast, etc., you may want to use the Windows Subsystem for Linux. [blah blah $PATH]

On the cluster

Using lmod R
RStudio VDI

R versions

R packages

Package repositories

  • CRAN
  • Bioconductor
  • Github

Installing packages

Loading packages

Common packages

Basic

  • tidyverse
  • devtools

Omics

  • deseq (RNA-Seq)
  • edgeR (RNA-Seq)

LC-MS

Data visualization

  • ggplot2 (graphs)
  • gplots (heatmaps)
  • ggtree (phylogenetic trees)
  • gggenes (genome neighborhoods)

Basic commands

RMarkdown notebooks

Setting up a small package

General resources

Clone this wiki locally