其他分享
首页 > 其他分享> > Error in inDL(x, as.logical(local), as.logical(now), ...) : 无法载入共享目标对象

Error in inDL(x, as.logical(local), as.logical(now), ...) : 无法载入共享目标对象

作者:互联网

Error in inDL(x, as.logical(local), as.logical(now), …) : 无法载入共享目标对象‘D:/Program Files (x86)/R/R-4.0.3/library/RGtk2/libs/x64/RGtk2.dll’:: 求大神帮助

这是在加载RGtk2 包时遇到的问题:具体报错如下
Error in inDL(x, as.logical(local), as.logical(now), …) :
无法载入共享目标对象‘D:/Program Files (x86)/R/R-4.0.3/library/RGtk2/libs/x64/RGtk2.dll’::
LoadLibrary failure: 找不到指定的模块。

Learn more about GTK+ at http://www.gtk.org
If the package still does not load, please ensure that GTK+ is installed and that it is on your PATH environment variable
IN ANY CASE, RESTART R BEFORE TRYING TO LOAD THE PACKAGE AGAIN
Error in inDL(x, as.logical(local), as.logical(now), …) :
无法载入共享目标对象‘D:/Program Files (x86)/R/R-4.0.3/library/RGtk2/libs/x64/RGtk2.dll’::
LoadLibrary failure: 找不到指定的模块。

此外: Warning message:
Failed to load RGtk2 dynamic library, attempting to install it.
试开URL’http://ftp.gnome.org/pub/gnome/binaries/win64/gtk+/2.22/gtk±bundle_2.22.1-20101229_win64.zip’
错误: package or namespace load failed for ‘RGtk2’:
loadNamespace()里算’RGtk2’时.onLoad失败了,详细内容:
调用: download.file(dep_url, path, mode = “wb”)
错误: 无法打开URL’http://ftp.gnome.org/pub/gnome/binaries/win64/gtk+/2.22/gtk±bundle_2.22.1-20101229_win64.zip’
此外: Warning messages:
1: Failed to load RGtk2 dynamic library, attempting to install it.
2: In download.file(dep_url, path, mode = “wb”) :
InternetOpenUrl失败:’不能连接到吊销服务器,或者未能获得最终响应。’
毫无疑问,rattle包也随之出现问题

载入需要的程辑包:tibble
载入需要的程辑包:bitops
Rattle: A free graphical interface for data science with R.
XXXX 5.4.0 Copyright © 2006-2020 Togaware Pty Ltd.
键入’rattle()'去轻摇、晃动、翻滚你的数据。

rattle()
Loading required package: RGtk2
Error in inDL(x, as.logical(local), as.logical(now), …) :
无法载入共享目标对象‘D:/Program Files (x86)/R/R-4.0.3/library/RGtk2/libs/x64/RGtk2.dll’::
LoadLibrary failure: 找不到指定的模块。

试开URL’http://ftp.gnome.org/pub/gnome/binaries/win64/gtk+/2.22/gtk±bundle_2.22.1-20101229_win64.zip’
Error: package or namespace load failed for ‘RGtk2’:
.onLoad failed in loadNamespace() for ‘RGtk2’, details:
call: download.file(dep_url, path, mode = “wb”)
error: 无法打开URL’http://ftp.gnome.org/pub/gnome/binaries/win64/gtk+/2.22/gtk±bundle_2.22.1-20101229_win64.zip’
Error in inDL(x, as.logical(local), as.logical(now), …) :
无法载入共享目标对象‘D:/Program Files (x86)/R/R-4.0.3/library/RGtk2/libs/x64/RGtk2.dll’::
LoadLibrary failure: 找不到指定的模块。

此外: Warning messages:
1: Failed to load RGtk2 dynamic library, attempting to install it.
2: In download.file(dep_url, path, mode = “wb”) :
InternetOpenUrl失败:’操作超时’
试开URL’http://ftp.gnome.org/pub/gnome/binaries/win64/gtk+/2.22/gtk±bundle_2.22.1-20101229_win64.zip’
错误: .onLoad failed in loadNamespace() for ‘RGtk2’, details:
call: download.file(dep_url, path, mode = “wb”)
error: 无法打开URL’http://ftp.gnome.org/pub/gnome/binaries/win64/gtk+/2.22/gtk±bundle_2.22.1-20101229_win64.zip’
此外: Warning messages:
1: Failed to load RGtk2 dynamic library, attempting to install it.
2: In download.file(dep_url, path, mode = “wb”) :
InternetOpenUrl失败:’不能连接到吊销服务器,或者未能获得最终响应。

上网查资料有类似内容,说是36位的R版本问题。
但是,我在安装R时没有安装36位的R!!!
求哪位大神帮忙解决问题。

标签:...,gnome,win64,gtk,RGtk2,logical,Error,2.22
来源: https://blog.csdn.net/weixin_51339149/article/details/110938280