knitr, lyx, mac, Korean

2019-07-31 15:44发布

Dear Friends in the knitr community with lyx and Apple Mac

Hello! I am using Apple Mac for Reproducible research of R. Currently, I enjoy knitr in lyx for writing some R scripts. The problem I have is related non-English characters, specially Korean in the knitr chunk.

When I type any Korean Character in a Chunk for typing file name or some extra explanations in #, the pdf output of the file does not print Korean properly. No matter of choosing or not choosing the option "eval=FALSE", R in lyx does not show Korean on the output. But, in the ordinary text part of the writing, Korean shows well. This problem seems to be Apple Mac specific, because another lyx environment in Linux (ubutu) makes the similar problem at al. Is it a lyx issue with MacTex or knitr one? Thank you in advance.

regards,

Jong-Hwa

标签: r macos knitr tex lyx
0条回答
登录 后发表回答