R/getMinionOptions.R

Defines functions getMinionOptions

getMinionOptions <- function(out) {
  cl <- out[grep("Command line:", out)]
  cl_split <- strsplit(cl, split = " ")[[1]]
  return(gsub("-", "", cl_split[grep("^-", cl_split)]))
}
minion-r/mopr documentation built on Jan. 12, 2018, 6:20 p.m.