]> projects.mako.cc - redirect-tools/commitdiff
debugging the command to write output to tsv. inserted a comma and changed it to...
authoraaronshaw <aaron.d.shaw@gmail.com>
Wed, 2 Jul 2014 18:25:21 +0000 (13:25 -0500)
committeraaronshaw <aaron.d.shaw@gmail.com>
Wed, 2 Jul 2014 18:25:21 +0000 (13:25 -0500)
02-generate_spells.R

index c2a21884025d363a126903e2a6c7ff91ed9fb3a3..528091d11c139ebdb8bce1ffc673244a303091cd 100644 (file)
@@ -10,10 +10,8 @@ setwd(cur.dir)
 setwd(spells.data.dir)
 save(redirect.spells, file="redirect_spells.RData")
 
 setwd(spells.data.dir)
 save(redirect.spells, file="redirect_spells.RData")
 
-write.csv(redirect.spells, file="redirect_spells.tsv", sep="\t"
+write.table(redirect.spells, file="redirect_spells.tsv", sep="\t",
                  fileEncoding="UTF-8", row.names=FALSE)
 
 library(foreign)
 write.dta(redirect.spells, file="redirect_spells.dta")
                  fileEncoding="UTF-8", row.names=FALSE)
 
 library(foreign)
 write.dta(redirect.spells, file="redirect_spells.dta")
-
-

Benjamin Mako Hill || Want to submit a patch?