Permalink
Browse files

we have reasonable default options for xtable now, so no need to print()

  • Loading branch information...
1 parent b120963 commit 6f56d98052b4cbb6a0075a33165ec3fcf1024bb4 @yihui committed Mar 31, 2012
Showing with 2 additions and 2 deletions.
  1. +2 −2 source/01-introduction.md
@@ -14,8 +14,8 @@ qplot(hp, mpg, data = mtcars) + geom_smooth()
And here is a table created with the **xtable** package:
``` {r intro-table, results='asis'}
-library(ascii)
-print(ascii(head(mtcars[, 1:5]), include.rownames = FALSE), type = 'rest')
+library(xtable)
+xtable(head(mtcars[, 1:5]))
````
TODO: Sweave. An overview of the following chapters.

0 comments on commit 6f56d98

Please sign in to comment.