Mercurial > repos > greg > r_hello_world
view hello_world.R @ 3:8d61cf6f8d6f draft
Uploaded
author | greg |
---|---|
date | Mon, 15 Aug 2016 14:14:26 -0400 |
parents | fa71365e68b6 |
children | f3737c086298 |
line wrap: on
line source
#!/usr/bin/env Rscript suppressPackageStartupMessages(library("optparse")) option_list <- list( make_option(c("-o", "--output"), action="store", help="Output dataset") ) fileConn<-file(opt$output) writeLines(c("Hello","World"), fileConn) close(fileConn)