Mercurial > repos > ylebras > xls2tabular
comparison xls2tab.R @ 26:ff26178d8dfe draft
Uploaded
| author | ylebras |
|---|---|
| date | Thu, 06 Dec 2018 12:37:58 -0500 |
| parents | |
| children |
comparison
equal
deleted
inserted
replaced
| 25:f815b52e9bb6 | 26:ff26178d8dfe |
|---|---|
| 1 #!/usr/bin/env Rscript | |
| 2 #Read xls/xlsx sheets - return tabular | |
| 3 library(readxl) | |
| 4 | |
| 5 args = commandArgs(trailingOnly=TRUE) | |
| 6 | |
| 7 sheet<-read_excel(args[1],sheet=args[2]) | |
| 8 write.table(sheet,"out.tabular",sep="\t",row.names=FALSE) |
