# HG changeset patch # User ylebras # Date 1543971694 18000 # Node ID 97c4e2e4f07ec3e5d585ebcc1942b0db16af67f4 # Parent f5bc9bda73b727fc21c746317500e40364c8af3c Uploaded diff -r f5bc9bda73b7 -r 97c4e2e4f07e xlsx2tab.R --- a/xlsx2tab.R Tue Dec 04 19:53:44 2018 -0500 +++ b/xlsx2tab.R Tue Dec 04 20:01:34 2018 -0500 @@ -4,7 +4,8 @@ args = commandArgs(trailingOnly=TRUE) -sheet<-read_excel(args[1],sheet=args[2]) +file.rename(args[1],"input.xlsx") +sheet<-read_excel("input.xlsx",sheet=args[2]) write.table(sheet,"out.tabular",sep="\t",row.names=FALSE) }