Skip to content

Commit

Permalink
fixed #2: RCurl uses the methods package, but Rscript does not load t…
Browse files Browse the repository at this point in the history
…his package by default, so have to load it explicitly
  • Loading branch information
yihui committed Apr 16, 2012
1 parent 7884e19 commit 7aea43c
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions knit
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
## ./knit [epub|github|html|pdf] to generate different types of output

library(knitr)
library(methods)

## global chunk options: use high quality Cairo PNG device
pdf.options(pointsize = 10) # smaller pointsize for recording plots
Expand Down

0 comments on commit 7aea43c

Please sign in to comment.