Mercurial > repos > ylebras > xls2tabular
changeset 7:25b2fb62d16a draft
Uploaded
author | ylebras |
---|---|
date | Tue, 04 Dec 2018 20:22:18 -0500 |
parents | aa529f924b86 |
children | 0dc610053f6d |
files | xlsx2tab.R |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/xlsx2tab.R Tue Dec 04 20:15:41 2018 -0500 +++ b/xlsx2tab.R Tue Dec 04 20:22:18 2018 -0500 @@ -4,7 +4,7 @@ args = commandArgs(trailingOnly=TRUE) -newname<-args[1]+".xlsx" +newname<-paste(args[1], "xlsx", sep=".") file.rename(args[1],newname) sheet<-read_excel(newname,sheet=args[2]) write.table(sheet,"out.tabular",sep="\t",row.names=FALSE)