ggplot 맥에서 한글 깨질 때

 ggplot2를 맥에서 사용할 때 축 제목 한글이 깨진다. 어떻게 해야 할까?

theme()을 사용한다.


mydata %>%

 ggplot(...) +

 theme(axis.title = element_text(family='AppleGothic'))



댓글

이 블로그의 인기 게시물

R에서 csv 파일 읽는 법

xlwings tutorial - 데이터 계산하여 붙여 넣기