Mercurial > repos > mnhn65mo > rdata_handler
comparison rdata_reader.R @ 0:10212598b005 draft
Uploaded
author | mnhn65mo |
---|---|
date | Tue, 07 Aug 2018 06:02:29 -0400 |
parents | |
children |
comparison
equal
deleted
inserted
replaced
-1:000000000000 | 0:10212598b005 |
---|---|
1 #!/usr/bin/env Rscript | |
2 #Return list of attributes from a Rdata file | |
3 | |
4 args = commandArgs(trailingOnly=TRUE) | |
5 rda<-load(args[1]) #Load the rdata | |
6 rdata<-get(rda) | |
7 names<-names(rdata) #Get the attributes | |
8 write(names, file = "rdata_list_attr") |