Mercurial > repos > ylebras > xls2tabular
changeset 19:09ebc5a5cdc3 draft
Uploaded
author | ylebras |
---|---|
date | Wed, 05 Dec 2018 16:03:45 -0500 |
parents | cba112c87a55 |
children | ac37b65a50da |
files | xls2tab.r |
diffstat | 1 files changed, 8 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/xls2tab.r Wed Dec 05 16:03:45 2018 -0500 @@ -0,0 +1,8 @@ +#!/usr/bin/env Rscript +#Read xls sheets - return tabular +library(readxl) + +args = commandArgs(trailingOnly=TRUE) + +sheet<-read_excel(args[1],sheet=args[2]) +write.table(sheet,"out.tabular",sep="\t",row.names=FALSE) \ No newline at end of file