An R package to run stochastic simulations of breeding scheme genetics
mkdir ~/Rlibs
. Replace ~/Rlibs
with your choice of folder name.echo '.libPaths( c("~/Rlibs", .libPaths()) )' >> ~/.Rprofile
, with ~/Rlibs
modified to be the folder from step 1.~/genomicSimulation_0.1.tar.gz
on bunyasalloc --nodes=1 --ntasks-per-node=1 --cpus-per-task=1 --mem=5G --job-name=TinyInteractive --time=01:00:00 --partition=general --qos=debug --constraint=epyc3 --account=ACCOUNT srun
, where ACCOUNT is replaced with your bunya group account string.
module load r
, then open the R commandline by typing R
install.packages("~/genomicSimulation_0.1.tar.gz", repos=NULL)
with the location you saved the package release substituted for ~/genomicSimulation_0.1.tar.gz
~/genomicSimulation_0.1.tar.gz
file can be deleted. The .Rprofile
file and the contents of the ~/Rlibs
folder should not be deleted. You can run q()
to exit R, and exit
to release your interactive job and return to the login node.Once the package is installed, you can use library("genomicSimulation")
in any R script. There should be no need to rerun the install.packages
command, even after module unload
and module load
.