# HG changeset patch # User greg # Date 1471285424 14400 # Node ID d48f590690fe153373fe531baead96593ce8ebf2 # Parent 24ccb9f7b63721ea6b5a330d6b95962f7016ac1b Uploaded diff -r 24ccb9f7b637 -r d48f590690fe hello_world.R --- a/hello_world.R Mon Aug 15 14:20:27 2016 -0400 +++ b/hello_world.R Mon Aug 15 14:23:44 2016 -0400 @@ -8,7 +8,7 @@ ) parser <- OptionParser(usage="%prog [options] file", options_list) -args <- parse+args(parser) +args <- parse_args(parser, positional_arguments=TRUE) opt <- args$options fileConn<-file(opt$output)