Skip to content

Commit

Permalink
remove the output variable we were not using (thanks to Deborah Siege…
Browse files Browse the repository at this point in the history
…l for pointing this out)
  • Loading branch information
holdenk committed Jan 14, 2015
1 parent 4c4438e commit 422ab53
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/R/finddistance.R
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,5 @@ while(length(line <- readLines(f,n=1)) > 0) {
contents <- Map(as.numeric, strsplit(line, ","))
mydist <- gdist(contents[[1]][1], contents[[1]][2], contents[[1]][3], contents[[1]][4],
units="m", a=6378137.0, b=6356752.3142, verbose = FALSE)
output = paste(mydist, collapse=" ")
write(mydist, stdout())
}

0 comments on commit 422ab53

Please sign in to comment.