diff hello_world.R @ 0:304377330941 draft

Uploaded
author greg
date Mon, 15 Aug 2016 13:33:07 -0400
parents
children 65fb665f37e3
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/hello_world.R	Mon Aug 15 13:33:07 2016 -0400
@@ -0,0 +1,12 @@
+#!/usr/bin/env Rscript
+
+suppressPackageStartupMessages(library("optparse"))
+
+
+option_list <- list(
+    make_option(c("-o", "--output"), action="store", help="Output dataset")
+)
+
+line<-"Hello World"
+base::save(line, file=opt$output)
+