即使下载后也无法在R中加载ggplot2 [英] Unable to load ggplot2 in R even after downloading

查看:58
本文介绍了即使下载后也无法在R中加载ggplot2的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

即使我已经安装了其他软件包,也无法加载ggplot2软件包.有人可以帮忙吗?我在下面附上错误消息:

I'm unable to load ggplot2 package even though I have installed other packages. Can someone help. I'm attaching the error message below:

> library(ggplot2)
Error in library.dynam(lib, package, package.lib) : 
  DLL ‘digest’ not found: maybe not installed for this architecture?
In addition: Warning message:
package ‘ggplot2’ was built under R version 3.0.2 
Error: package or namespace load failed for ‘ggplot2’

推荐答案

首先尝试重新安装ggp​​lot2.该警告是由在较旧版本下构建的软件包引起的.如果失败,则更新R和您需要的所有软件包.最后看一下Tal Galili的软件包 http://cran.r-project.org/web/packages/installr/index.html

First try re-installing ggplot2. The warning results from the package being built under an older version. If that fails, update both R and all the packages you need. Finally look at Tal Galili's package http://cran.r-project.org/web/packages/installr/index.html

他的软件包使您可以轻松更新R和所有已安装的软件包.(我假设您使用的是Windows操作系统)

His package makes it easy for you to update both R and all the packages you have already installed. ( I am assuming you're on a Windows OS)

这篇关于即使下载后也无法在R中加载ggplot2的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆