Error: Input files not all in same directory, please supply explicit wd

前端 未结 3 1936
灰色年华
灰色年华 2020-12-20 17:51

After trying to build a PDF that worked ~2 weeks ago, no fuss, on a new machine with a fresh install of R, R studio, bookdown, etc, I have this error:

         


        
3条回答
  •  余生分开走
    2020-12-20 18:08

    Just something complementary to Yihui's answer. If I added the line options(bookdown.render.file_scope = FALSE) to the R markdown file, it did not work. It worked great if this line was added to the ~/.Rprofile file.

提交回复
热议问题