Repository 'xls2tabular'
hg clone https://toolshed.g2.bx.psu.edu/repos/ylebras/xls2tabular

Changeset 16:ca89facf5125 (2018-12-05)
Previous changeset 15:80cce9439f6e (2018-12-05) Next changeset 17:cb2493afd265 (2018-12-05)
Commit message:
Uploaded
modified:
xlsx2tab.R
b
diff -r 80cce9439f6e -r ca89facf5125 xlsx2tab.R
--- a/xlsx2tab.R Wed Dec 05 15:50:15 2018 -0500
+++ b/xlsx2tab.R Wed Dec 05 15:56:48 2018 -0500
[
@@ -1,13 +1,8 @@
 #!/usr/bin/env Rscript
-#Read Xlsx sheets - return tabular
+#Read xls sheets - return tabular
 library(readxl)
 
 args = commandArgs(trailingOnly=TRUE)
 
-#nfile.copy(args[1],newname, overwrite=TRUE)
-#sheet<-read_excel(newname,sheet=args[2])
 sheet<-read_excel(args[1],sheet=args[2])
-write.table(sheet,"out.tabular",sep="\t",row.names=FALSE)
-
-}
-
+write.table(sheet,"out.tabular",sep="\t",row.names=FALSE)
\ No newline at end of file