Previous changeset 25:f815b52e9bb6 (2018-12-06) Next changeset 27:847321a98092 (2018-12-06) |
Commit message:
Uploaded |
added:
xls2tab.R |
b |
diff -r f815b52e9bb6 -r ff26178d8dfe xls2tab.R --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/xls2tab.R Thu Dec 06 12:37:58 2018 -0500 |
[ |
@@ -0,0 +1,8 @@ +#!/usr/bin/env Rscript +#Read xls/xlsx sheets - return tabular +library(readxl) + +args = commandArgs(trailingOnly=TRUE) + +sheet<-read_excel(args[1],sheet=args[2]) +write.table(sheet,"out.tabular",sep="\t",row.names=FALSE) \ No newline at end of file |