changeset 2:fa71365e68b6 draft

Uploaded
author greg
date Mon, 15 Aug 2016 14:12:15 -0400
parents 65fb665f37e3
children 8d61cf6f8d6f
files hello_world.R
diffstat 1 files changed, 4 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/hello_world.R	Mon Aug 15 13:56:03 2016 -0400
+++ b/hello_world.R	Mon Aug 15 14:12:15 2016 -0400
@@ -7,5 +7,8 @@
     make_option(c("-o", "--output"), action="store", help="Output dataset")
 )
 
-base::save("Hello world!", file=opt$output)
+fileConn<-file(opt$output)
+writeLines(c("Hello","World"), fileConn)
+close(fileConn)
 
+