Tips and tricks to Install and work with R on Ubuntu
Run these commands in terminal
#Update and Install R
sudo apt-get update
sudo apt-get install r-base r-base-dev
sudo apt-get upgrade
# Know R version
R --version
Extract Part of a FASTA Sequences with Position by python script HERE
Run these commands in R terminal
# Know R version
sessionInfo()
# Know version of specific packages
packageVersion("ggplot2")
# check installed packages
installed.packages()
# list all packages where an update is available
old.packages()
# update all available packages
update.packages()
# update, without prompts for permission/clarification
update.packages(ask = FALSE)
update.packages(checkBuilt = TRUE, ask = FALSE, repos = "https://cran.rstudio.com")
# update only a specific package use install.packages()
install.packages("ggplot2")
# install packages from bioconductor
source("https://bioconductor.org/biocLite.R")
biocLite("ComplexHeatmap")
# install multiple packages from bioconductor
source("https://bioconductor.org/biocLite.R")
biocLite("ComplexHeatmap", "ggplot2")
# install packages from github
library(devtools)
install_github("jokergoo/ComplexHeatmap")
# start library
library('ggplot2')
Post a Comment