Skip to content

Instantly share code, notes, and snippets.

@tetlabo
Last active April 27, 2021 06:11
Show Gist options
  • Save tetlabo/b3f98c484bbea4332000512b83b42516 to your computer and use it in GitHub Desktop.
Save tetlabo/b3f98c484bbea4332000512b83b42516 to your computer and use it in GitHub Desktop.
Google ColabのRランタイムで日本語フォントを使用するためのスクリプト
# セルの冒頭で以下を実行し、[ランタイム] - [ランタイムの再起動] を行ってください。
# その後は、標準のSansフォントとしてIPAexゴシックが使用されますので、family指定などは不要です。
# 日本語設定スクリプトを実行する
download.file("https://raw.githubusercontent.com/ltl-manabi/shinyapps.io_japanese_font/master/use_ipaex_font.sh", destfile = "use_ipaex_font.sh")
system("bash /content/use_ipaex_font.sh")
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment