diff --git a/R/runArraySimulation.R b/R/runArraySimulation.R index e0abb58a..4abf9446 100644 --- a/R/runArraySimulation.R +++ b/R/runArraySimulation.R @@ -241,8 +241,7 @@ #' final <- SimCollect(files=dir()) #' final #' -#' SimResults(final) |> View() -#' +#' # clean simulation directory #' setwd('..') #' SimClean(dirs='sim/') #' @@ -269,11 +268,6 @@ #' summarise=Summarise, iseed=iseed, arrayID=arrayID, #' filename='condition', dirname='sim', array2row=array2row)) |> invisible() #' -#' # If necessary, conditions above will manually terminate before -#' # 4 hours and 4GB of RAM are used, returning any -#' # successfully completed results before the HPC session times -#' # out (provided .slurm script specified more than 4 hours) -#' #' # list saved files #' dir('sim/') #' @@ -288,8 +282,7 @@ #' final <- SimCollect(files=dir()) #' final #' -#' SimResults(final) |> View() -#' +#' # clean simulation directory #' setwd('..') #' SimClean(dirs='sim/') #' diff --git a/man/runArraySimulation.Rd b/man/runArraySimulation.Rd index cbc539d2..6c4b75a3 100644 --- a/man/runArraySimulation.Rd +++ b/man/runArraySimulation.Rd @@ -249,8 +249,7 @@ SimResults(condition14) final <- SimCollect(files=dir()) final -SimResults(final) |> View() - +# clean simulation directory setwd('..') SimClean(dirs='sim/') @@ -277,11 +276,6 @@ sapply(1:3, \(arrayID) summarise=Summarise, iseed=iseed, arrayID=arrayID, filename='condition', dirname='sim', array2row=array2row)) |> invisible() -# If necessary, conditions above will manually terminate before -# 4 hours and 4GB of RAM are used, returning any -# successfully completed results before the HPC session times -# out (provided .slurm script specified more than 4 hours) - # list saved files dir('sim/') @@ -296,8 +290,7 @@ SimResults(condition14) final <- SimCollect(files=dir()) final -SimResults(final) |> View() - +# clean simulation directory setwd('..') SimClean(dirs='sim/')