Is it possible to export documents that contain Korean letters using knitr? I've tried it but it didn't work.
All Korean font changing like this, but all Korean letters work in R console.
Is it possible to export documents that contain Korean letters using knitr? I've tried it but it didn't work.
All Korean font changing like this, but all Korean letters work in R console.
A quick and lazy solution is to use RStudio, which should handle the character encoding automatically. If you use other editors, or just call knitr::knit()
manually, you should provide a proper value to the encoding
argument. BTW, please post library(knitr);sessionInfo()
.