5
5

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 5 years have passed since last update.

RStudioの文字コード設定

Posted at

現象

RStudioをインストールし、先輩からもらったソースコードも見ようとしたら、文字化け。
調べてみたら文字コードの設定だった
文字化け.PNG

設定の仕方

1.【Tools > Global Options】を選択
設定1.PNG

2.【Code > Saving】を選択
設定2.PNG

3.【Defalut text encoding > change > 該当の文字コード】を選択
設定3.PNG

設定をしただけだと、表示が変わらないので一度ソースをバツ印で消して、RStudioを起動しなおすと文字コードが戻った。

5
5
1

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
5
5

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?