Mercurial > repos > greg > r_hello_world
changeset 7:d48f590690fe draft
Uploaded
author | greg |
---|---|
date | Mon, 15 Aug 2016 14:23:44 -0400 |
parents | 24ccb9f7b637 |
children | 5875cb5f42d4 |
files | hello_world.R |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- 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)