Jupyter notebookでのR環境設定
mac編
ターミナルからRを起動



Jupyter notebookでRが使えるようにする
Jupyter notebook用のパッケージインストール
install.packages('IRkernel')

IRkernel::installspec()

Windows
Anaconda PronptからRを起動


Jupyter notebookでRが使えるようにする
Jupyter notebook用のパッケージインストール
install.packages('IRkernel')

IRkernel::installspec()

Jupyter notebook 拡張機能追加
入力補完
%config IPCompleter.greedy=True

Nbextensions
macならターミナル,Windows/ならnaconda Promptで以下のコマンドを入力して実行
conda install -c conda-forge jupyter_contrib_nbextensions
jupyter contrib nbextension install --user
jupyter nbextensions_configurator enable --user

入力補完機能OFF
