本文介绍了错误:找不到函数“ggplot”的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我已经安装了ggplot和ggplot2以及它们的依赖关系。



感谢您的帮助。

解决方案

试试:

$ p $ library(ggplot2)

即使安装了一个包,每次加载R时都必须加载一个包。



问题在r-faq中得到全面回答:


I have installed ggplot and ggplot2 and their dependencies.

thanks for help.

解决方案

Try:

library(ggplot2)

Even after installing a package, you have to load a package each time you load R.

This question is answered comprehensively in the r-faq:

Error: could not find function ... in R

这篇关于错误:找不到函数“ggplot”的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

09-05 12:51
查看更多