LoginSignup
7
8

More than 5 years have passed since last update.

コンソールのRに色をつける方法

Last updated at Posted at 2016-06-17

コンソール上のRに色をつける方法

コンソールのRは白黒表示で味気ないので色をつけた。coloroutなる便利ツールがある。  
今回必要なのは"devtools"と"colorout".
最新版についてはcoloroutのgithubを参照ください。

まずdevtoolを入れる。

install.packages('devtools')
library(devtools)

そして次にcoloroutを導入

install_github('jalvesaq/colorout')
library(colorout)

Rprofileの記入

毎回、coloroutを起動するのはめんどくさいのでRprofileに覚えさせる。

$ echo 'library(colorout)' >> ~/.Rprofile"

コンソール上で実行

あとはRを使うだけ
スクリーンショット 2016-06-17 10.50.10.png

7
8
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
7
8