Put .tex file in /tmp to be safe; knit will change directory.