comparison hello_world.R @ 2:fa71365e68b6 draft

Uploaded
author greg
date Mon, 15 Aug 2016 14:12:15 -0400
parents 65fb665f37e3
children f3737c086298
comparison
equal deleted inserted replaced
1:65fb665f37e3 2:fa71365e68b6
5 5
6 option_list <- list( 6 option_list <- list(
7 make_option(c("-o", "--output"), action="store", help="Output dataset") 7 make_option(c("-o", "--output"), action="store", help="Output dataset")
8 ) 8 )
9 9
10 base::save("Hello world!", file=opt$output) 10 fileConn<-file(opt$output)
11 writeLines(c("Hello","World"), fileConn)
12 close(fileConn)
11 13
14