- 已编辑
在Rstudio里,中文注释显示是正常的,读入中文路径下的文件也是正常的,但直接查看的数据,中文或者罗马数字是乱码,但是存为csv文件,罗马数字又是对的,部分中文有乱码。
win10 pro版是用key激活的,本来是中文版,安装了英文语言包,win界面是英文显示,但我在其他软件里,输入中文,显示中文,罗马数字没有任何问题。
sessionInfo()
R version 3.6.1 (2019-07-05)
Platform: x86_64-w64-mingw32/x64 (64-bit)
Running under: Windows 10 x64 (build 18362)
Matrix products: default
locale:
[1] LC_COLLATE=English_United States.1252
[2] LC_CTYPE=English_United States.1252
[3] LC_MONETARY=English_United States.1252
[4] LC_NUMERIC=C
[5] LC_TIME=English_United States.1252
attached base packages:
[1] stats graphics grDevices
[4] utils datasets methods
[7] base
other attached packages:
[1] forcats_0.4.0 stringr_1.4.0
[3] dplyr_0.8.3 purrr_0.3.3
[5] readr_1.3.1 tidyr_1.0.0
[7] tibble_2.1.3 ggplot2_3.2.1
[9] tidyverse_1.3.0
loaded via a namespace (and not attached):
[1] Rcpp_1.0.2 cellranger_1.1.0
[3] pillar_1.4.2 compiler_3.6.1
[5] dbplyr_1.4.2 tools_3.6.1
[7] zeallot_0.1.0 lubridate_1.7.4
[9] jsonlite_1.6 lifecycle_0.1.0
[11] nlme_3.1-140 gtable_0.3.0
[13] lattice_0.20-38 pkgconfig_2.0.3
[15] rlang_0.4.2 reprex_0.3.0
[17] cli_1.1.0 DBI_1.0.0
[19] rstudioapi_0.10 haven_2.2.0
[21] xfun_0.10 withr_2.1.2
[23] xml2_1.2.2 httr_1.4.1
[25] knitr_1.25 fs_1.3.1
[27] hms_0.5.2 generics_0.0.2
[29] vctrs_0.2.0 grid_3.6.1
[31] tidyselect_0.2.5 glue_1.3.1
[33] R6_2.4.0 readxl_1.3.1
[35] modelr_0.1.5 magrittr_1.5
[37] backports_1.1.5 scales_1.0.0
[39] rvest_0.3.5 assertthat_0.2.1
[41] colorspace_1.4-1 stringi_1.4.3
[43] lazyeval_0.2.2 munsell_0.5.0
[45] broom_0.5.2 crayon_1.3.4