From: Don Armstrong Date: Wed, 10 Oct 2012 01:24:10 +0000 (-0700) Subject: add wd print X-Git-Url: https://git.donarmstrong.com/?p=don.git;a=commitdiff_plain;h=794d3c19083d41fd28505a3387f0562db74335a5;ds=sidebyside add wd print --- diff --git a/posts/bug_reporting_rate.mdwn b/posts/bug_reporting_rate.mdwn index 0f952b7..d164d1a 100644 --- a/posts/bug_reporting_rate.mdwn +++ b/posts/bug_reporting_rate.mdwn @@ -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.] -[[!sweavealike results="hide" fig=1 echo=0 code=""" +[[!sweavealike fig=1 echo=0 code=""" 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)))