djmurphy420 / ggplot2-transition-guide

15 stars 5 forks source link

Issues with build instructions in README #3

Open wch opened 12 years ago

wch commented 12 years ago

knit2pdf doesn't take an output file name, so this doesn't work:

knit2pdf('../ggplot2-0.9.0.Rnw', 'color-guide.tex')

It should just be:

knit2pdf('../ggplot2-0.9.0.Rnw')

Also, the user has to create the ./col and ./bw directories manually. This is because git doesn't store empty directories in the repository.

yihui commented 12 years ago

That was based on the development version of knitr, which I planned to release to CRAN last weekend, but was held for a big new feature which I have not managed to implement yet.