「在Rmarkdown chunk無法正確編繹(knit)」問題的解答
Published by 劉正山,
在讀入資料檔那個指令的chunk中的第一行,加上:
knitr::opts_chunk$set(root.dir = '~/')
這行的功能是
參考:
- http://stackoverflow.com/questions/25834007/read-table-and-read-csv-both-error-in-rmd
- http://stackoverflow.com/questions/20060518/in-rstudio-rmarkdown-how-to-setwd