institute of biotechnology >> brc >> bioinformatics >> internal >> biohpc cloud: user guide
 

BioHPC Cloud:
: User Guide

 

 


BioHPC Cloud Software

There are 1095 software titles installed in BioHPC Cloud. The sofware is available on all machines (unless stated otherwise in notes), complete list of programs is below, please click on a title to see details and instructions. Tabular list of software is available here

Please read details and instructions before running any program, it may contain important information on how to properly use the software in BioHPC Cloud.

3D Slicer, 3d-dna, 454 gsAssembler or gsMapper, a5, ABRicate, ABruijn, ABySS, AdapterRemoval, adephylo, Admixtools, Admixture, AF_unmasked, AFProfile, AGAT, agrep, albacore, Alder, AliTV-Perl interface, AlleleSeq, ALLMAPS, ALLPATHS-LG, Alphafold, AMOS, AMPHORA, amplicon.py, AMRFinder, analysis, ANGSD, AnnotaPipeline, Annovar, ant, antiSMASH, anvio, apollo, arcs, ARGweaver, aria2, ariba, Arlequin, ART, ASEQ, aspera, assembly-stats, ASTRAL, atac-seq-pipeline, ataqv, athena_meta, ATLAS, Atlas-Link, ATLAS_GapFill, atom, ATSAS, Augustus, AWS command line interface, AWS v2 Command Line Interface, axe, axel, BA3, BactSNP, bakta, bamsnap, bamsurgeon, bamtools, bamUtil, barcode_splitter, BarNone, Basset, BayeScan, Bayescenv, bayesR, baypass, bazel, BBMap/BBTools, BCFtools, bcl2fastq, BCP, Beagle, Beast2, bedops, BEDtools, bfc, bgc, bgen, bicycle, BiG-SCAPE, bigQF, bigWig, bioawk, biobakery, biobambam, Bioconductor, biom-format, BioPerl, BioPython, Birdsuite, Bismark, Blackbird, blasr, BLAST, BLAST_to_BED, blast2go, BLAT, BlobToolKit, BLUPF90, BMGE, bmtagger, bonito, Boost, Bowtie, Bowtie2, BPGA, Bracken, BRAKER, BRAT-NextGen, BRBseqTools, BreedingSchemeLanguage, breseq, brocc, bsmap, BSseeker2, BUSCO, BUSCO Phylogenomics, BWA, bwa-mem2, bwa-meth, bwtool, cactus, CAFE, caffe, cagee, canu, Canvas, CAP3, caper, CarveMe, catch, cBar, CBSU RNAseq, CCMetagen, CCTpack, cd-hit, cdbfasta, cdo, CEGMA, CellRanger, cellranger-arc, cellranger-atac, cellranger-dna, centrifuge, centroFlye, CFM-ID, CFSAN SNP pipeline, CheckM, CheckM2, chimera, chimerax, chip-seq-pipeline, chromosomer, Circlator, Circos, Circuitscape, CITE-seq-Count, ClermonTyping, clues, CLUMPP, clust, Clustal Omega, CLUSTALW, Cluster, cmake, CMSeq, CNVnator, coinfinder, colabfold, CombFold, compat, CONCOCT, Conda, Cooler, copyNumberDiff, cortex_var, CoverM, crabs, CRISPRCasFinder, CRISPResso, Cromwell, CrossMap, CRT, cuda, Cufflinks, curatedMetagenomicDataTerminal, cutadapt, cuteSV, dadi, dadi-1.6.3_modif, dadi-cli, danpos, DAS_Tool, DBSCAN-SWA, dDocent, DeconSeq, Deepbinner, deeplasmid, DeepTE, deepTools, Deepvariant, defusion, delly, DESMAN, destruct, DETONATE, diamond, dipcall, diploSHIC, discoal, Discovar, Discovar de novo, distruct, DiTASiC, DIYABC, dnmtools, Docker, dorado, DRAM, dREG, dREG.HD, drep, Drop-seq, dropEst, dropSeqPipe, dsk, dssat, Dsuite, dTOX, duphold, DWGSIM, dynare, ea-utils, ecopcr, ecoPrimers, ectyper, EDGE, edirect, EDTA, eems, EgaCryptor, EGAD, EIGENSOFT, elai, ElMaven, EMBLmyGFF3, EMBOSS, EMIRGE, Empress, enfuse, EnTAP, entropy, epa-ng, ephem, epic2, ermineJ, ete3, EukDetect, EukRep, EVM, exabayes, exonerate, ExpansionHunterDenovo-v0.8.0, eXpress, FALCON, FALCON_unzip, Fast-GBS, fasta, FastANI, fastcluster, FastME, FastML, fastp, FastQ Screen, fastq-multx-1.4.3, fastq_demux, fastq_pair, fastq_species_detector, FastQC, fastqsplitter, fastsimcoal2, fastspar, fastStructure, FastTree, FASTX, fcs, feems, feh, FFmpeg, fgbio, figaro, Filtlong, fineRADstructure, fineSTRUCTURE, FIt-SNE, flash, flash2, flexbar, Flexible Adapter Remover, Flye, FMAP, FragGeneScan, FragGeneScan, FRANz, freebayes, FSA, funannotate, FunGene Pipeline, FunOMIC, G-PhoCS, GADMA, GAEMR, Galaxy, Galaxy in Docker, GATK, gatk4, gatk4amplicon.py, gblastn, Gblocks, GBRS, gcc, GCTA, GDAL, gdc-client, GEM library, GEMMA, GeMoMa, GENECONV, geneid, GeneMark, Genespace, genomad, Genome STRiP, Genome Workbench, GenomeMapper, GenomeThreader, genometools, GenomicConsensus, genozip, gensim, GEOS, germline, gerp++, GET_PHYLOMARKERS, gfaviz, GffCompare, gffread, giggle, git, glactools, GlimmerHMM, GLIMPSE, GLnexus, Globus connect personal, GMAP/GSNAP, GNU Compilers, GNU parallel, go-perl, GO2MSIG, GONE, GoShifter, gradle, graftM, grammy, GraPhlAn, graphtyper, graphviz, greenhill, GRiD, gridss, Grinder, grocsvs, GROMACS, GroopM, GSEA, gsort, GTDB-Tk, GTFtools, Gubbins, GUPPY, hail, hal, HapCompass, HAPCUT, HAPCUT2, hapflk, HaploMerger, Haplomerger2, haplostrips, HaploSync, HapSeq2, HarvestTools, haslr, hdf5, hget, hh-suite, HiC-Pro, hic_qc, HiCExplorer, HiFiAdapterFilt, hifiasm, hificnv, HISAT2, HMMER, Homer, HOTSPOT, HTSeq, htslib, https://github.com/CVUA-RRW/RRW-PrimerBLAST, hugin, humann, HUMAnN2, hybpiper, hyperopt, HyPhy, hyphy-analyses, iAssembler, IBDLD, idba, IDBA-UD, IDP-denovo, idr, idseq, IgBLAST, IGoR, IGV, IMa2, IMa2p, IMAGE, ImageJ, ImageMagick, Immcantation, impute2, impute5, IMSA-A, INDELseek, infernal, Infomap, inStrain, inStrain_lite, InStruct, Intel MKL, InteMAP, InterProScan, ipyrad, IQ-TREE, iRep, JaBbA, jags, Jane, java, jbrowse, JCVI, jellyfish, juicer, julia, jupyter, jupyterlab, kaiju, kallisto, Kent Utilities, keras, khmer, kinfin, king, kma, KmerFinder, KmerGenie, kneaddata, kraken, KrakenTools, KronaTools, kSNP, kWIP, LACHESIS, lammps, LAPACK, LAST, lastz, lcMLkin, LDAK, LDhat, LeafCutter, leeHom, lep-anchor, Lep-MAP3, LEVIATHAN, lftp, Liftoff, Lighter, LinkedSV, LINKS, localcolabfold, LocARNA, LocusZoom, lofreq, longranger, Loupe, LS-GKM, LTR_retriever, LUCY, LUCY2, LUMPY, lyve-SET, m6anet, MACE, MACS, MaCS simulator, MACS2, macs3, maffilter, MAFFT, mafTools, MAGeCK, MAGeCK-VISPR, Magic-BLAST, magick, MAGScoT, MAKER, manta, mapDamage, mapquik, MAQ, MARS, MASH, mashtree, Mashtree, MaSuRCA, MATLAB, Matlab_runtime, Mauve, MaxBin, MaxQuant, McClintock, mccortex, mcl, MCscan, MCScanX, medaka, medusa, megahit, MeGAMerge, MEGAN, MELT, MEME Suite, MERLIN, merqury, MetaBAT, MetaBinner, MetaboAnalystR, MetaCache, MetaCRAST, metaCRISPR, metamaps, MetAMOS, MetaPathways, MetaPhlAn, metapop, metaron, MetaVelvet, MetaVelvet-SL, metaWRAP, methpipe, mfeprimer, MGmapper, MicrobeAnnotator, MiFish, Migrate-n, mikado, MinCED, minigraph, Minimac3, Minimac4, minimap2, mira, miRDeep2, mirge3, miRquant, MISO, MITObim, MitoFinder, mitohelper, MitoHiFi, mity, MiXCR, MixMapper, MKTest, mlift, mlst, MMAP, MMSEQ, MMseqs2, MMTK, MobileElementFinder, modeltest, MODIStsp-2.0.5, module, moments, MoMI-G, mongo, mono, monocle3, mosdepth, mothur, MrBayes, mrsFAST, msld, MSMC, msprime, MSR-CA Genome Assembler, msstats, MSTMap, mugsy, MultiQC, multiz-tba, MUMandCo, MUMmer, mummer2circos, muscle, MUSIC, Mutation-Simulator, muTect, MZmine, nag-compiler, nanocompore, nanofilt, NanoPlot, Nanopolish, nanovar, ncftp, ncl, NECAT, Nemo, Netbeans, NEURON, new_fugue, Nextflow, NextGenMap, NextPolish2, nf-core/rnaseq, ngmlr, NGS_data_processing, NGSadmix, ngsDist, ngsF, ngsLD, NGSNGS, NgsRelate, ngsTools, NGSUtils, NINJA, NLR-Annotator, NLR-Parser, Novoalign, NovoalignCS, nQuire, NRSA, NuDup, numactl, nvidia-docker, nvtop, Oases, OBITools, Octave, OMA, Oneflux, OpenBLAS, openmpi, openssl, orthodb-clades, OrthoFinder, orthologr, Orthomcl, pacbio, PacBioTestData, PAGIT, pal2nal, paleomix, PAML, panaroo, pandas, pandaseq, pandoc, PanPhlAn, Panseq, Parsnp, PASA, PASTEC, PAUP*, pauvre, pb-assembly, pbalign, pbbam, pbh5tools, PBJelly, pblat, pbmm2, PBSuite, pbsv, pbtk, PCAngsd, pcre, pcre2, PeakRanger, PeakSplitter, PEAR, PEER, PennCNV, peppro, PERL, PfamScan, pgap, PGDSpider, ph5tools, Phage_Finder, pharokka, phasedibd, PHAST, phenopath, Phobius, PHRAPL, PHYLIP, PhyloCSF, phyloFlash, phylophlan*, PhyloPhlAn2, phylophlan3, phyluce, PhyML, Picard, PICRUSt2, pigz, Pilon, Pindel, piPipes, PIQ, PlasFlow, platanus, Platypus, plink, plink2, Plotly, plotsr, Point Cloud Library, popbam, PopCOGenT, PopLDdecay, Porechop, poretools, portcullis, POUTINE, pplacer, PRANK, preseq, primalscheme, primer3, PrimerBLAST, PrimerPooler, prinseq, prodigal, progenomics, progressiveCactus, PROJ, prokka, Proseq2, ProtExcluder, protolite, PSASS, psmc, psutil, pullseq, purge_dups, pyani, PyCogent, pycoQC, pyfaidx, pyGenomeTracks, PyMC, pymol-open-source, pyopencl, pypy, pyRAD, Pyro4, pyseer, PySnpTools, python, PyTorch, PyVCF, qapa, qcat, QIIME, QIIME2, QTCAT, Quake, Qualimap, QuantiSNP2, QUAST, quickmerge, QUMA, R, RACA, racon, rad_haplotyper, RADIS, RadSex, RagTag, rapt, RAPTR-SV, RATT, raven, RAxML, raxml-ng, Ray, rck, rclone, Rcorrector, RDP Classifier, REAGO, REAPR, Rebaler, Red, ReferenceSeeker, regenie, regtools, Relate, RelocaTE2, Repbase, RepeatMasker, RepeatModeler, RERconverge, ReSeq, RevBayes, RFdiffusion, RFMix, RGAAT, rgdal, RGI, Rgtsvm, Ribotaper, ripgrep, rJava, rMATS, RNAMMER, rnaQUAST, Rnightlights, Roary, Rockhopper, rohan, RoseTTAFold2NA, rphast, Rqtl, Rqtl2, RSAT, RSEM, RSeQC, RStudio, rtfbs_db, ruby, run_dbcan, sabre, SaguaroGW, salmon, SALSA, Sambamba, samblaster, sample, SampleTracker, samplot, samtabix, Samtools, Satsuma, Satsuma2, SCALE, scanorama, scikit-learn, Scoary, scythe, seaborn, SEACR, SecretomeP, self-assembling-manifold, selscan, Sentieon, seqfu, seqkit, SeqPrep, seqtk, SequelTools, sequenceTubeMap, Seurat, sf, sgrep, sgrep sorted_grep, SHAPEIT, SHAPEIT4, SHAPEIT5, shasta, Shiny, shore, SHOREmap, shortBRED, SHRiMP, sickle, sift4g, SignalP, SimPhy, simuPOP, singularity, sinto, sirius, sistr_cmd, SKESA, skewer, SLiM, SLURM, smap, smcpp, smoove, SMRT Analysis, SMRT LINK, snakemake, snap, SnapATAC, SNAPP, SnapTools, snATAC, SNeP, Sniffles, snippy, snp-sites, SnpEff, SNPgenie, SNPhylo, SNPsplit, SNVPhyl, SOAP2, SOAPdenovo, SOAPdenovo-Trans, SOAPdenovo2, SomaticSniper, sorted_grep, spaceranger, SPAdes, SPALN, SparCC, sparsehash, SPARTA, split-fasta, sqlite, SqueezeMeta, SQuIRE, SRA Toolkit, srst2, stacks, Stacks 2, stairway-plot, stampy, STAR, Starcode, statmodels, STITCH, STPGA, StrainPhlAn, strawberry, Strelka, stringMLST, StringTie, STRUCTURE, Structure_threader, Struo2, stylegan2-ada-pytorch, subread, sumatra, supernova, suppa, SURPI, surpyvor, SURVIVOR, sutta, SV-plaudit, SVaBA, SVclone, SVDetect, svengine, SVseq2, svtools, svtyper, svviz2, SWAMP, sweed, SweepFinder, SweepFinder2, sweepsims, swiss2fasta.py, sword, syri, tabix, tagdust, Taiji, Tandem Repeats Finder (TRF), tardis, TargetP, TASSEL 3, TASSEL 4, TASSEL 5, tbl2asn, tcoffee, TensorFlow, TEToolkit, TEtranscripts, texlive, TFEA, tfTarget, thermonucleotideBLAST, ThermoRawFileParser, TMHMM, tmux, Tomahawk, TopHat, Torch, traitRate, Trans-Proteomic Pipeline (TPP), TransComb, TransDecoder, TRANSIT, transrate, TRAP, tree, treeCl, treemix, Trim Galore!, trimal, trimmomatic, Trinity, Trinotate, TrioCNV2, tRNAscan-SE, Trycycler, UCSC Kent utilities, ultraplex, UMAP, UMI-tools, UMIScripts, Unicycler, UniRep, unitig-caller, unrar, usearch, valor, vamb, Variant Effect Predictor, VarScan, VCF-kit, vcf2diploid, vcfCooker, vcflib, vcftools, vdjtools, Velvet, vep, VESPA, vg, Vicuna, ViennaRNA, VIP, viral-ngs, virmap, VirSorter, VirusDetect, VirusFinder 2, vispr, VizBin, vmatch, vsearch, vt, WASP, webin-cli, wget, wgs-assembler (Celera), WGSassign, What_the_Phage, windowmasker, wine, Winnowmap, Wise2 (Genewise), wombat, Xander_assembler, xpclr, yaha, yahs

Details for RStudio (If the copy-pasted commands do not work, use this tool to remove unwanted characters)

Name:RStudio
Version:2023.12.1+402-1
OS:Linux
About:RStudio is an integrated development environment (IDE) for R
Added:3/1/2016 7:40:28 PM
Updated:2/28/2024 1:01:46 PM
Link:https://www.rstudio.com/
Manual:https://support.rstudio.com/hc/en-us/categories/200035113-Documentation
Download:https://www.rstudio.com/products/rstudio/download/
Notes:

Default port of Rstudio server is changed to 8016. If your Rstudio on port 8015 stops working due to a recent change in Cornell campus network, you will need to restart the Rstudio server:

/programs/rstudio_server/rstudio_stop
/programs/rstudio_server/rstudio_start

After this, open web browser to http://cbsuxxxxx.biohpc.cornell.edu:8016

 

There are multiple ways to use Rstudio at BioHPC. First we describe the pros/cons to help you decide. After that we give specific instructions for getting started with each option.

  1. Rstudio Server is the most common choice. It allows you to have an Rstudio session that you connect to within a web browser. It is persistent, meaning that it keeps working even if you lose connection with the server, you can reconnect to it and your session will still be running. However, it has two important limitations:

    • Only one “Rstudio Server” can run on each BioHPC machine. The server can service many users, so anyone with access to the machine can log in and have their own Rstudio session once the server is started. The main limitation is that this server only runs a single version of R. If multiple users want to use Rstudio Server from the same machine, with different versions of R, this will not work.

    • Each user can only have one active Rstudio session at a time on a particular machine. If you have access to multiple machines at BioHPC, you can have a different session on each machine, but only if you move your session info out of your home directory (see specific instructions in the Rstudio Server setup section below).

  2. RStudio Desktop is an X-windows (graphical) software that each user can run from the command line. It is similar to Rstudio server, but does not operate through a web browser and is not persistent (unless you run it over VNC, which is not always reliable).  Most users find the graphics are slower with this option. But there are no limitations about number of instances per machine, or versions of R.

  3. You can run Rstudio Server in a docker container. In this way, you can have multiple independent instances of Rstudio server running on the same machine, each running different versions of R, if desired. The downside to this solution is that your R packages need to be installed in the docker container, so you cannot automatically use the packages installed on the BioHPC machines or in your home directory. However, once you have your R environment configured within your docker container, you can save this container as an image, which can be reused on any linux machine, or shared with others who may want to reproduce your research environment.

 

Setting up RStudio Server (without docker)

***Start-up instructions (but please read Notes below)***

  1. SSH Login (through Putty or Mac Terminal) to the BioHPC server you want to run RStudio. 

  2. Run the command "/programs/rstudio_server/mv_dir" if you want to keep the very big session data files under /workdir (see Note 2 below)

  3. Run the command "/programs/rstudio_server/rstudio_start"  to start RStudio server. You may get a message that Rstudio is already running. This may mean that another user on the same machine has already started Rstudio. In this case, proceed to step 4.

  4. From a browser on your laptop/desktop computer, go to this site "http://cbsuxxxxxx.biohpc.cornell.edu:8016".   (replacing the "cbsuxxxxx" with the acutal machine name ). Sometimes, you might need to reshresh the page once.  Log in with your BioHPC username and password.

  5. If you want to stop the RStudio Server, use the command "/programs/rstudio_server/rstudio_stop". Be aware that this will stop all Rstudio sessions on the machine (including other user's, if it is a hosted machine or you have a shared reservation).

*** Notes ***

  1. Rstudio Server runs through http (not https), but as BioHPC is only accessible through Cornell local network, it is reasonably safe.
  2. About your Rstudio session data (~/.local/share/rstudio):
    • Rstudio stores its “session info” in your home directory, at ~/.local/share/rstudio. You may want to move this to local storage, for two reasons:
      1. If you are working with big data files, the session info can get quite large, and your home directory is paid storage (or subject to a quota).
      2. Your home directory is shared across BioHPC machines, so if rsession data is stored there, you can only have one session across all machines. By moving it to local storage, you can have different Rstudio sessions on different BioHPC machines.
    • To move your session data to local storage, use the command:
      /programs/rstudio_server/mv_dir
      *before* starting Rstudio. This command will delete existing rstudio session data in your home directory (~/.local/share/rstudio), create a new directory for session data (/workdir/$USER/rstudio), and create a symbolic link (~/.local/share/rstudio) to it.
    • If you cannot open Rstudio page, e.g. you are switching between versions of R, or between different servers, or session file too large, you can clear your rstudio session with the command:
      /programs/rstudio_server/mv_dir
  3. Alternative versions of R: By default, R studio uses 4.2.1-r9. If you want to use another version of R, e.g. R v4.0.5,  start R studio with "/programs/rstudio_server/rstudio_start 4.0.5-r9", supported versions include 4.0.5-r9, 4.1.3-r9 and 4.2.1-r9.  If you need to use v4.3.2, contact us, we will need to update rstudio on your server. When you switch between versions, make sure you delete the session data and restart Rstudio, i.e.:

    /programs/rstudio_server/rstudio_stop
    /programs/rstudio_server/mv_dir
    /programs/rstudio_server/rstudio_start
    4.0.5-r9

  4. Avoid swapping of R session to disk: By default, R studio server will swap your session to disk after 2 hours of inactivity, thus freeing precious RAM memory for use by other users and applications. With large data sets, this may cause delays when your sessions has to be recovered from disk. Swapping can be avoided by specifying the option noswap as the last argument to rstudio_start. For example,

    /programs/rstudio_server/rstudio_start 4.2.1-r9 noswap

    will start Rstudio with R version 4.2.1-r9 and no swapping, whereas

    /programs/rstudio_server/rstudio_start noswap

    will start R studio with the default version of R and no swapping. Please note that runing R studio without swapping on a shared machine may adversely impact other users by depriving their applications of memory! Use noswap considerately!

       

Running Rstudio Desktop

Rstudio Desktop is an X-windows software. If you do not know how to run an X-windows software on BioHPC lab, read this page: https://cbsu.tc.cornell.edu/lab/userguide.aspx?a=access#b (read the section under under How to run graphical applications)

If you have never run rstudio on the server before, run this command:

/programs/rstudio_server/mv_dir

To start the software, use this command: 

#to start Rstudio with default R v4.0
export LD_LIBRARY_PATH=/programs/R-4.0.5-r9/lib:$LD_LIBRARY_PATH
rstudio

#to start Rstudio with a different version, e.g. R v4.2.1-r9
module load R/4.2.1-r9
export LD_LIBRARY_PATH=/programs/R-4.2.1-r9/lib:$LD_LIBRARY_PATH
rstudio

 

Running Rstudio Server in Docker

To start docker container, use the commands:


#On the host machine, create a local directory (any name) which would serve as rstudio session directory
mkdir /workdir/$USER/rstudio_dir

#start the docker container from Rocker/rstudio image
docker1 run -d -p 8009:8787 rocker/rstudio 

#get the container ID, replace xxxxxxx below with your container ID
docker1 ps

#add your BioHPC user ID and primary group ID into Docker container 
docker1 exec xxxxxxx groupadd -g `id -g` `id -g -n $USER`

docker1 exec xxxxxxx useradd -m -u `id -u` -g `id -g` -d /home/$USER $USER


#set password for your user account within container, this is the password you will use later to login to Rstudio
docker1 exec -it xxxxxxx passwd $USER

#make $USER as a sudo user in container
docker1 exec xxxxxxx usermod -aG sudo $USER

#make an alias /home/$USER/.local that point to your local /workdir/$USER/rstudio_dir
docker1 exec --user $USER xxxxxxx ln -s /workdir/rstudio_dir /home/$USER/.local

At this point, you might want to commit this container to a new image, so that you can re-use it later

docker1 commit 30b31021e48e myrstudio

#you can also export to a portable image file so that you can use on any servers later

docker1 save -o myrstudio.tar biohpc_$USER/myrstudio

Then, if you are on the Cornell network (or connected to VPN), you should then be able to go to http://cbsuxxxx.biohpc.cornell.edu:8009 and log in with the BioHPC user name, and password  your just set (Replace cbsuxxxx with actual machine name).  If you get an error about the port already being used after the docker1 run command, you can try another available port: 8009-8039 are open, although 8016 is used by the non-docker Rstudio. Rstudio runs on port 8787 inside the docker container, but this is mapped to port 8009 on the BioHPC server. If you want to have multiple Rstudio sessions, you can repeat the "docker1 run" command with different ports (keep 8787 the same, but change 8009 to something between 8009-8039).

All your files in /workdir/$USER/ will be mounted at /workdir/ within the container.

The example above will run R version 4.1.0, most other versions of R are also available (see https://hub.docker.com/r/rocker/rstudio/). 

If you need to install Linux libraries, you can do "sudo apt update" and "sudo apt install" to install libraries from the Terminal window in Rstudio.

You can install your R packages within the docker container (you can do this inside your Rstudio session using the install.packages() function, for example). It is possible you may also need to open a bash terminal within the docker container to install any system libraries required by your R packages. We can guide you through this if you need help. Once you have all your packages installed, you can save the container as an image and use it on any linux machine, or share it with others to reproduce your research.

More information about docker at biohpc is here: https://biohpc.cornell.edu/lab/userguide.aspx?a=software&i=340#c

Important: you need to restart the R session file regularly.


If you can still login to the Rstudio web page, follow instructions here to restart R:
https://argoshare.is.ed.ac.uk/healthyr_book/restart-r-regularly.html
 
Otherwise, do the following in Linux shell, then restart the Rstudio container:

rm -fr /workdir/$USER/rstudio_dir
mkdir /workdir/$USER/rstudio_dir

 


Notify me if this software is upgraded or changed [You need to be logged in to use this feature]

 

Website credentials: login  Web Accessibility Help