Mercurial > repos > ylebras > xls2tabular
comparison xls2tab.r @ 22:3ad2713b6c5a draft
Uploaded
| author | ylebras |
|---|---|
| date | Thu, 06 Dec 2018 11:20:53 -0500 |
| parents | 09ebc5a5cdc3 |
| children |
comparison
equal
deleted
inserted
replaced
| 21:5e5e26403322 | 22:3ad2713b6c5a |
|---|---|
| 1 #!/usr/bin/env Rscript | 1 #!/usr/bin/env Rscript |
| 2 #Read xls sheets - return tabular | 2 #Read xls/xlsx sheets - return tabular |
| 3 library(readxl) | 3 library(readxl) |
| 4 | 4 |
| 5 args = commandArgs(trailingOnly=TRUE) | 5 args = commandArgs(trailingOnly=TRUE) |
| 6 | 6 |
| 7 sheet<-read_excel(args[1],sheet=args[2]) | 7 sheet<-read_excel(args[1],sheet=args[2]) |
