yihui/knitr — Issue #38: Changing working directory will impact the location of output
Author: etiennebr
Created: 2011-12-06 04:22:46+00:00
State: open

This is a problem with sweave as well, but when you change a directory
`setwd("aplace")`
this will output the figures and the .tex in `~` directory. It can even lead to having stuff really scattered.
`setwd("here")
plot(something)
setwd("there")
plot(something)
...`
It can even bring LyX to crash.