From 6d8de73e68f2c0349e618af35ce4a8f095ca0ed5 Mon Sep 17 00:00:00 2001 From: Johannes Ranke Date: Thu, 1 Mar 2018 10:10:08 +0100 Subject: Rebuild static docs using current pkdown Process PELMO runs in example using 15 (hyperthreading) cores and show processor info. --- man/PELMO_runs.Rd | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'man/PELMO_runs.Rd') diff --git a/man/PELMO_runs.Rd b/man/PELMO_runs.Rd index f936d8c..6021613 100644 --- a/man/PELMO_runs.Rd +++ b/man/PELMO_runs.Rd @@ -64,11 +64,14 @@ runs_1 <- list( pot = c("Cha", "Ham", "Jok", "Kre", "Oke", "Pia", "Por", "Sev", "Thi"))) time_1 <- system.time( PECgw_1 <- PELMO_runs(runs_1, psm_dir = system.file("testdata", package = "pfm"), - cores = 6, overwrite = TRUE) + cores = 15, overwrite = TRUE) ) print(PECgw_1) # We get exactly the same PECgw values (on Linux, calling PELMO using Wine). print(time_1) +if(!inherits(try(cpuinfo <- readLines("/proc/cpuinfo")), "try-error")) { + cat(gsub("model name\\t: ", "CPU model: ", cpuinfo[grep("model name", cpuinfo)[1]])) +} # Demonstrate some results with metabolites. runs_2 <- list(list(psm = 'Pesticide_D_1_May_every_other_year_mets', -- cgit v1.2.1