rm(list=ls()); gc(); gc();
if (!require("pacman")) install.packages("pacman")
pacman::p_load(tidyverse, magrittr, here,
modelsummary, ggrepel, patchwork,
summarytools, cowplot)
- 1
- 前の作業など,rのメモリに入っているものをリセットするコマンド
- 2
-
パッケージ管理用のパッケージである
pacman
が入っていない場合はインストール - 3
- 複数のパッケージを一度に呼び出す