]> git.donarmstrong.com Git - don.git/blobdiff - posts/bug_reporting_rate.mdwn
try fixing the file location
[don.git] / posts / bug_reporting_rate.mdwn
index 4266c45253aaceb363439dbc32b185508af6fcf2..0f952b719f3d595f00cbb17384e5f7c01c249e62 100644 (file)
@@ -17,10 +17,10 @@ Now, lets get the data into R and plot it.
 
 [[!sweavealike results="hide" fig=1 echo=0 code="""
 require(lattice)
-reporting.rate <- read.table("data/bug_reporting_rate.txt")
+reporting.rate <- read.table("../data/bug_reporting_rate.txt")
 colnames(reporting.rate) <- c("bug","epoch")
 reporting.rate <- data.frame(reporting.rate)
-reporting.rate$bug <- as.numeric(gsub("\\.report","",gsub(".*\\/","",reporting.rate$bug)))
+reporting.rate$bug <- as.numeric(gsub("\\\\.report","",gsub(".*\\\\/","",reporting.rate$bug)))
 reporting.rate <- reporting.rate[order(as.numeric(reporting.rate$bug)),]
 ### this is the number of bugs submitted per second
 ### however, for bug numbers less than about 100000, this number is wrong.