## 폰트 설정 패키지 설치
install.packages("extrafont")
library(extrafont)
## 존재하는 모든 폰트 불러오기
font_import()
## 폰트 설정
theme_set(theme_gray(base_family='NanumGothic'))
## 혹은
theme_set(theme_gray(base_family='AppleMyungjo'))
'[R] 연습' 카테고리의 다른 글
[R] apply() 함수 (0) | 2022.05.21 |
---|---|
[R] ggplot 이중축 그래프에서 축과 축 이름 색 바꾸기 (0) | 2022.05.20 |
[R] 문자열 합치기 (0) | 2022.05.14 |
[R] 특정 열 삭제하기 (0) | 2022.05.08 |
[R] aggregate() 함수 (0) | 2022.04.29 |