R Removing package报错(as ‘lib’ is unspecified)

remove.packages('ggpubr')
Removing package from ‘/Library/Frameworks/R.framework/Versions/4.0/Resources/library’
(as ‘lib’ is unspecified)

解决办法:

> .libPaths()
[1] "/Library/Frameworks/R.framework/Versions/4.0/Resources/library"

>.libPaths("/Library/Frameworks/R.framework/Versions/4.0/Resources/library")

你可能感兴趣的:(#,r语言,开发语言)