knit_env: The environment in which a code chunk is evaluated
Description
This function makes the environment of a code chunk
accessible inside a chunk.Details
In some special cases, we need access to the environment
of the current chunk, e.g., to make sure the code is
executed in the correct environment.References
http://yihui.name/knitr/demo/cache/