Mercurial > repos > mmonsoor > probmetab
comparison probmetab.r @ 5:1dd90aa7815d draft
planemo upload commit f9da57d32476742b887a77435eb77c70494ccf96
author | lecorguille |
---|---|
date | Fri, 07 Apr 2017 03:31:35 -0400 |
parents | a1b528cba999 |
children |
comparison
equal
deleted
inserted
replaced
4:a1b528cba999 | 5:1dd90aa7815d |
---|---|
19 source_local <- function(fname){ | 19 source_local <- function(fname){ |
20 argv <- commandArgs(trailingOnly = FALSE) | 20 argv <- commandArgs(trailingOnly = FALSE) |
21 base_dir <- dirname(substring(argv[grep("--file=", argv)], 8)) | 21 base_dir <- dirname(substring(argv[grep("--file=", argv)], 8)) |
22 source(paste(base_dir, fname, sep="/")) | 22 source(paste(base_dir, fname, sep="/")) |
23 } | 23 } |
24 | |
25 options(bitmapType='cairo') | |
26 | |
24 cat("\n\n") | 27 cat("\n\n") |
25 | 28 |
26 | 29 |
27 # ----- ARGUMENTS ----- | 30 # ----- ARGUMENTS ----- |
28 cat("\tARGUMENTS INFO\n") | 31 cat("\tARGUMENTS INFO\n") |