[英]Can't installing R packages on linux mint 15 32bits
I'm trying to install de ggplot library so I use this command 我正在尝试安装de ggplot库,所以我使用此命令
install.packages('ggplot2', dependencies = TRUE)
When I write library(ggplot2) nothing happens there isn't an error message so I supouse that the installation process work, but when I try to use the gplot function I get this: 当我编写library(ggplot2)时,什么也没有发生,所以没有错误消息,所以我认为安装过程可以正常工作,但是当我尝试使用gplot函数时,我得到了:
Error: could not find function "gplot"
I try to open R Studio as super user and install again, and also try to install the library from the tar.gz package but all the time I get the exact same error. 我尝试以超级用户身份打开R Studio并再次安装,并且还尝试从tar.gz包中安装该库,但是一直以来我都得到完全相同的错误。
Thanks in advance 提前致谢
Actually the Function is "qplot" not gplot. 实际上,该功能是“ qplot”而不是gplot。
For reference visit: https://cran.r-project.org/web/packages/ggplot2/ggplot2.pdf 供参考,请访问: https : //cran.r-project.org/web/packages/ggplot2/ggplot2.pdf
Then go to Page No. 145 and check out for qplot (Quick plot): 然后转到第145页,并检查qplot(快速绘图):
Usage: 用法:
qplot(x, y = NULL, ..., data, facets = NULL, margins = FALSE,
geom = "auto", xlim = c(NA, NA), ylim = c(NA, NA), log = "",
main = NULL, xlab = deparse(substitute(x)),
ylab = deparse(substitute(y)), asp = NA, stat = NULL, position = NULL)
也许您可以尝试使用“ ggplot()”而不是“ gplot()”
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.