list2RscriptArgs: convert a named list of name=value pairs into properly quoted...

Description Usage Arguments Value Author(s) Examples

Description

Currently we support “character”, “numeric”, “intetger” and “logical” data types. NA are OK, but not NULL.

Usage

1

Arguments

x

a named list, where each element has just 1 value

Value

a chracter(1) which can be tacked onto the end of an Rscript commandline if any values in x are characters, they will be double quoted. each individual parameter name=value pair will be single quoted

Author(s)

Mark Cowley, 2011-08-18

Examples

1
2
x <- list(a="C2CGP", b=1, c=TRUE, out="/mnt/ICGCPancreas")
list2RscriptArgs(x)

drmjc/mjcbase documentation built on May 15, 2019, 2:27 p.m.