Closed psychelzh closed 1 year ago
Maybe it is caused by the locale:
Compare with that from R script:
But currently, R 4.2.0 supports utf-8 natively on Windows, so I think it should be enabled for R 4.2.0 or higher?
Someone posted a solution here https://github.com/randy3k/radian/issues/269#issuecomment-1169663251
I don’t have a windows to test it.
Seemingly, calling Sys.setlocale("LC_ALL", Sys.getenv("LANG"))
solves this issue. Maybe this line should be included for Windows, though it will gives warnings.
I am seeing that there is no more issues, now.
This is the message from radian:
Compare with that from R script: