Mercurial > repos > mnhn65mo > rdata_handler
view rdata_reader.R @ 1:5184899fd06e draft default tip
Uploaded
author | mnhn65mo |
---|---|
date | Tue, 07 Aug 2018 08:23:15 -0400 |
parents | 10212598b005 |
children |
line wrap: on
line source
#!/usr/bin/env Rscript #Return list of attributes from a Rdata file args = commandArgs(trailingOnly=TRUE) rda<-load(args[1]) #Load the rdata rdata<-get(rda) names<-names(rdata) #Get the attributes write(names, file = "rdata_list_attr")