[metrics-web/master] Avoid scientific notation in .csv output.

30 Sep
2013
30 Sep
'13
1:50 p.m.
commit 7041d91e1f8983241e5f6ec63b27502245eccde7 Author: Karsten Loesing <karsten.loesing@gmx.net> Date: Mon Sep 30 15:45:48 2013 +0200 Avoid scientific notation in .csv output. We estimated exactly 100000 direct users from Russia on September 23 which R wrote as '1e+05'. This confused the Python in the censorship detector which thinks this is not an int. --- rserve/csv.R | 2 ++ 1 file changed, 2 insertions(+) diff --git a/rserve/csv.R b/rserve/csv.R index 34a3f91..e93b90f 100644 --- a/rserve/csv.R +++ b/rserve/csv.R @@ -1,3 +1,5 @@ +options(scipen = 15) + export_networksize <- function(path) { drv <- dbDriver("PostgreSQL") con <- dbConnect(drv, user = dbuser, password = dbpassword, dbname = db)
4282
Age (days ago)
4282
Last active (days ago)
0 comments
1 participants
participants (1)
-
karsten@torproject.org