test.R 164 Bytes Raw Blame History Permalink 1 2 3 4 5 6 7 8 9 10 11 library('rjson') args <- commandArgs(trailingOnly=TRUE) json <- fromJSON(args) path = json$path; ret <- list( ret1 = '1', res2 = '2' ) print(toJSON(ret));