Rでパッケージインストール時に 00LOCK Permission deniedになるときの対処法

install.packages("[パッケージ名]", INSTALL_opts = "--no-lock")

とする。