LoginSignup
6
5

More than 5 years have passed since last update.

R(shiny) でDT(DataTables)の日本語化

Last updated at Posted at 2017-07-31

需要なさそうだけど、、

一人で無意識に使う分には何の問題も無いですが、一般向けサービスを作ろうとした時に「なんで英語なんじゃい」とよくクレームがあったりすると思うので、そんな時にご使用ください。

サンプルコード

optionsリストのlanguageリストにパラメターを渡します。

DT::renderDataTable(options = list(language = list(url = '//cdn.datatables.net/plug-ins/9dcbecd42ad/i18n/Japanese.json')),
data.frame.to.output
)

6
5
0

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
6
5