Previous changeset 3:f5bc9bda73b7 (2018-12-04) Next changeset 5:5251f7e929a6 (2018-12-04) |
Commit message:
Uploaded |
modified:
xlsx2tab.R |
b |
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) } |