An error occurs when trying to save Korean as pdf in rmarkdown.
install.packages("markdown")
install.packages("knitr")
install.packages("tinytex")
tinytex::install_tinytex()
after doing this if I code as shown below,
---
title: "Untitled"
output: pdf_document
date: '2022-03-27'
editor_options:
chunk_output_type: console
---
```{r setup, include=FALSE}
knitr::opts_chunk$set(echo = TRUE)
```
```{r}
# 궁금한 것
```
and I was going to save it as a pdf, so I pressed the knit button,
**Output:**
! LaTeX Error: Unicode character 愿 (U+AD00)
not set up for use with LaTeX.
This error occurs.
I thought installing LaTex would solve it, so I tried it after installing it, but the error continues.
How do I solve this problem?