add wd print
authorDon Armstrong <don@donarmstrong.com>
Wed, 10 Oct 2012 01:24:10 +0000 (18:24 -0700)
committerDon Armstrong <don@donarmstrong.com>
Wed, 10 Oct 2012 01:24:10 +0000 (18:24 -0700)
posts/bug_reporting_rate.mdwn

index 0f952b7..d164d1a 100644 (file)
@@ -15,9 +15,10 @@ plot this, lets only look at bugs ending in 00:
 Now, lets get the data into R and plot it.
 [For clarity, I'm not showing the R code, but it's available in the source cdoe for this post.]
 
 Now, lets get the data into R and plot it.
 [For clarity, I'm not showing the R code, but it's available in the source cdoe for this post.]
 
-[[!sweavealike results="hide" fig=1 echo=0 code="""
+[[!sweavealike fig=1 echo=0 code="""
 require(lattice)
 require(lattice)
-reporting.rate <- read.table("../data/bug_reporting_rate.txt")
+print(getwd())
+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)))
 colnames(reporting.rate) <- c("bug","epoch")
 reporting.rate <- data.frame(reporting.rate)
 reporting.rate$bug <- as.numeric(gsub("\\\\.report","",gsub(".*\\\\/","",reporting.rate$bug)))