「在Rmarkdown chunk無法正確編繹(knit)」問題的解答

在讀入資料檔那個指令的chunk中的第一行,加上:
knitr::opts_chunk$set(root.dir = '~/')

這行的功能是

參考: