diff xlsx2tab.R @ 4:97c4e2e4f07e draft

Uploaded
author ylebras
date Tue, 04 Dec 2018 20:01:34 -0500
parents aa5f65234ff4
children aa529f924b86
line wrap: on
line diff
--- 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)
 
 }