コンソール上の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"