Mercurial > repos > greg > r_hello_world
comparison hello_world.R @ 0:304377330941 draft
Uploaded
| author | greg |
|---|---|
| date | Mon, 15 Aug 2016 13:33:07 -0400 |
| parents | |
| children | 65fb665f37e3 |
comparison
equal
deleted
inserted
replaced
| -1:000000000000 | 0:304377330941 |
|---|---|
| 1 #!/usr/bin/env Rscript | |
| 2 | |
| 3 suppressPackageStartupMessages(library("optparse")) | |
| 4 | |
| 5 | |
| 6 option_list <- list( | |
| 7 make_option(c("-o", "--output"), action="store", help="Output dataset") | |
| 8 ) | |
| 9 | |
| 10 line<-"Hello World" | |
| 11 base::save(line, file=opt$output) | |
| 12 |
