rlads2021 / hw6

HW 6: ggplot2
https://rlads2021.github.io/hw6
0 stars 2 forks source link

自己資料匯入問題 #7

Open B05201040 opened 3 years ago

B05201040 commented 3 years ago

助教你好,我把我自己的 .csv 資料匯入 Rstudio 但中文字的部分都會變成亂碼,請問這樣該怎麼辦,謝謝。 image

mcku1115 commented 3 years ago

你的系統是Windows嗎?Windows 系統在讀取檔案的時候需要設定編碼: mydata <- readr::read_csv(<filepath>, encoding = 'UTF-8')