Have you looked @ the documentation yihui provides on the knitr site?
I also highly recommend checking out his book he recently released dynamic documents with R and Knitr he covers everything you'd reasonably use and then some.
You can also easily explore the options in R studio by creating an R chunk
}```
adding a comma
```{r,
}```
and pressing tab after the comma and it will give you all the potential options - they are well named and you can easily focus your search more thoroughly. For example, if you noticed the `purl` option you could explore more and find it is for extracting R code from the chunk.