[tor-commits] [flashproxy/master] Use capital R extension for R scripts.

dcf at torproject.org dcf at torproject.org
Thu Jul 24 00:05:31 UTC 2014


commit 0b594b2d1ff382120d4cd0e61d1b76367dcd318f
Author: David Fifield <david at bamsoftware.com>
Date:   Wed Jul 23 17:04:42 2014 -0700

    Use capital R extension for R scripts.
---
 experiments/client-graph.R |    5 +++++
 experiments/client-graph.r |    5 -----
 experiments/proxy-graph.R  |    5 +++++
 experiments/proxy-graph.r  |    5 -----
 4 files changed, 10 insertions(+), 10 deletions(-)

diff --git a/experiments/client-graph.R b/experiments/client-graph.R
new file mode 100644
index 0000000..a17647f
--- /dev/null
+++ b/experiments/client-graph.R
@@ -0,0 +1,5 @@
+library(ggplot2)
+x <- read.delim("client.dat", header=FALSE, col.names=c("date", "count"), colClasses=c("POSIXct", "numeric"))
+
+png("client-count.png", width=720, height=480)
+qplot(date, data=x, geom="bar", weight=count, binwidth=86400, ylab="client requests per day")
diff --git a/experiments/client-graph.r b/experiments/client-graph.r
deleted file mode 100644
index a17647f..0000000
--- a/experiments/client-graph.r
+++ /dev/null
@@ -1,5 +0,0 @@
-library(ggplot2)
-x <- read.delim("client.dat", header=FALSE, col.names=c("date", "count"), colClasses=c("POSIXct", "numeric"))
-
-png("client-count.png", width=720, height=480)
-qplot(date, data=x, geom="bar", weight=count, binwidth=86400, ylab="client requests per day")
diff --git a/experiments/proxy-graph.R b/experiments/proxy-graph.R
new file mode 100644
index 0000000..6b3e1cc
--- /dev/null
+++ b/experiments/proxy-graph.R
@@ -0,0 +1,5 @@
+library(ggplot2)
+x <- read.delim("proxy.dat", header=FALSE, col.names=c("date", "interval"), colClasses=c("POSIXct", "numeric"))
+
+png("proxy-count.png", width=720, height=480)
+qplot(date, data=x, geom="bar", weight=interval/10, binwidth=86400, ylab="proxy requests per day")
diff --git a/experiments/proxy-graph.r b/experiments/proxy-graph.r
deleted file mode 100644
index 6b3e1cc..0000000
--- a/experiments/proxy-graph.r
+++ /dev/null
@@ -1,5 +0,0 @@
-library(ggplot2)
-x <- read.delim("proxy.dat", header=FALSE, col.names=c("date", "interval"), colClasses=c("POSIXct", "numeric"))
-
-png("proxy-count.png", width=720, height=480)
-qplot(date, data=x, geom="bar", weight=interval/10, binwidth=86400, ylab="proxy requests per day")



More information about the tor-commits mailing list