레이블이 인코딩인 게시물을 표시합니다. 모든 게시물 표시
레이블이 인코딩인 게시물을 표시합니다. 모든 게시물 표시

2019년 7월 25일 목요일

R ggplot2 한글 깨짐

theme_set(theme_gray(base_family="AppleGothic"))

R 한글 인코딩 문제

Sys.setlocale("LC_CTYPE", "ko_KR.UTF-8");


txt <- readLines(file("file.txt", encoding = "EUC-KR"))