This page contains corrections to typos in Reproducible Research with R and RStudio. If you notice any corrections that should be made to the text please report them on the Book's GitHub Issues page.
source_DropboxData
is no longer supported by the repmis package.
raw.githubusercontent.com
, due to an update with the way that GitHub assigns URLs these should replaced by: raw.githubusercontent.com
. "digest"
in the first code example.file.rename
command" should be file.copy
.p. 88: The code example git checkout --
should be git checkout -- .
. Note that there is a space between the two dashes and the period. Omitting the .
will still restore text in files
from the previous Git commit, but will not restore deleted files.
This change should also be reflected in the second sentence following the example. Note that if you replace the --
with a commit reference, you should still include the .
following the reference. Thanks
to David Arnold.
p. 103: The code examples:
source("/GatherSource/IndvDataGather/Gather1.R")
source("/GatherSource/IndvDataGather/Gather2.R")
source("/GatherSource/IndvDataGather/Gather3.R")
should be:
source("GatherSource/Gather1.R")
source("GatherSource/Gather2.R")
source("GatherSource/Gather3.R")
Thanks to David Arnold.
ROUT
with a period" should read "called RDIR
with a period"value_var
should be value.var
. Thanks to P. Roberto Bakker.Sample, cache=TRUE
, instead of Sample, cahe=TRUE
. Thank you to Ian Gow.border="1"
tag should be added that the default RStudio style sheet does not include table borders, so this markup will not add borders.read.csv
turns . . ." should read "Just as write.csv
turns . . .".ggplot(UDSData, aes(x = year, y = mean)) +
.