Bioinformatics
biolerplate-notes
R Studio Docker

Docker rstuido

docker run -d -p 8787:8787 -e USER=rstudio -e PASSWORD=rudra rocker/rstudio

It works

i was facing error installing new paclages after running this command it generally works

apt update
apt-get install zlib1g-dev
sudo apt-get install libglpk-dev

IT WORKED AFTER RUNNING THIS DESEQ2

# Check current library paths
.libPaths()

# Create a user library directory (Linux/Mac)
dir.create("~/R/library", recursive = TRUE)

# Set the library path to include your user directory
.libPaths(c("~/R/library", .libPaths()))

# For permanent changes, add this to your .Rprofile file
sudo apt-get update
sudo apt-get install libcurl4-openssl-dev libssl-dev libxml2-dev

was facing error installing clusterProfiler

this worksafter running this crappy stuff

sudo apt-get update
sudo apt-get upgrade r-base
# Install Bioconductor if not already installed
if (!requireNamespace("BiocManager", quietly = TRUE)) {
  install.packages("BiocManager")
}

# Install clusterProfiler from Bioconductor
BiocManager::install("clusterProfiler")