# HG changeset patch # User ylebras # Date 1544117878 18000 # Node ID ff26178d8dfe7370d59e798c1ec615dadff3264d # Parent f815b52e9bb601ba142a95a2b6b1e11a96fb105c Uploaded 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