Skip to content

Instantly share code, notes, and snippets.

@citizenrich
Created May 14, 2015 23:05
Show Gist options
  • Save citizenrich/03334620c48c6008f2c9 to your computer and use it in GitHub Desktop.
Save citizenrich/03334620c48c6008f2c9 to your computer and use it in GitHub Desktop.
args<-commandArgs(TRUE)
setwd("~/Dropbox/Data/temp/")
library(readstata13)
dat <- read.dta13(paste(args,sep = ""))
summary(dat)
save.dta13(dat, file=paste(args, "results.dta",sep = "_"))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment