我尝试在R中下载插入符号包,它开始删除我拥有的一些包,现在我在R启动时收到这些消息:
Warning: namespace ‘ggplot2’ is not available and has been replaced
by .GlobalEnv when processing object ‘belPlotTest’
Warning: namespace ‘scales’ is not available and has been replaced
by .GlobalEnv when processing object ‘belPlotTest’
Warning: namespace ‘cowplot’ is not available and has been replaced
by .GlobalEnv when processing object ‘g’
Warning: namespace ‘forecast’ is not available and has been replaced
by .GlobalEnv when processing object ‘mtgomeryPlot’
我尝试了rm(belPlotTest)
,rm(g)
和rm(mtgomeryPlot)
,并按照建议重新启动R,但我不断得到这些消息。我不知道这些信息是什么意思。我有2022年的最新R版本,4.1.2。请帮忙:
我在更新包时遇到这个错误,顺便点击"save workspace?yes"在.RData
中。然后是每次第一次加载所有的对象,和不合适的包。
您可以通过更改RStudio中的设置来防止这种情况发生。尽量不允许:
工具→全局选项->(?)
点击这里查看更多信息