This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| hasPackage <- function( package ) { | |
| suppressWarnings( suppressMessages( | |
| require( package, quietly= TRUE, warn.conflicts= FALSE, character.only= TRUE ) | |
| )) | |
| } | |
| # Set progress=FALSE to hide progress messages. Install messages always | |
| # displayed as they are changing the system. | |
| ensurePackages <- function( packages, installOk= FALSE, progress= TRUE, | |
| exitOnError= installOk ) { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/usr/bin/env bash | |
| #SBATCH --job-name mambaEnv | |
| #SBATCH --cpus-per-task 6 | |
| #SBATCH --mem 16G | |
| #SBATCH --partition allnodes | |
| #SBATCH --output ./mambaEnv.%j.out | |
| #SBATCH --error ./mambaEnv.%j.err | |
| # yaml filename is required argument 1 |
OlderNewer