大佬教程收集整理的这篇文章主要介绍了虽然它似乎可用,但无法加载rggobi.dll,大佬教程大佬觉得挺不错的,现在分享给大家,也给大家做个参考。
我加载clusterfly并收到此错误:
> pacman::p_load(caret,clusterfly,devtools,geonames,inTrees,mclust,party,+ RDSTK,reshape,ROCR,RRF,sqldf,Stringi,tree,xLSX) Error in inDL(x,as.logical(local),as.logical(Now),...) : unable to load shared object 'C:/Program Files/R/R-3.2.0/library/rggobi/libs/x64/rggobi.dll': LoadLibrary failure: The specified path is invalid. Failed with error: ‘package ‘rggobi’ Could not be loaded’ trying URL 'http://cran.rstudio.com/bin/windows/contrib/3.2/clusterfly_0.4.zip' Content type 'application/zip' length 64469 bytes (62 KB) downloaded 62 KB package ‘clusterfly’ successfully unpacked and MD5 sums checked The downloaded binary packages are in C:\Users\hackr\ApPDAta\Local\Temp\RtmpopFKT2\downloaded_packages clusterfly installed Error in inDL(x,...) : unable to load shared object 'C:/Program Files/R/R-3.2.0/library/rggobi/libs/x64/rggobi.dll': LoadLibrary failure: The specified path is invalid. Failed with error: ‘package ‘rggobi’ Could not be loaded’ Warning message: In pacman::p_load(caret,: Failed to install/load: clusterfly
这似乎基本上说rggobi.dll不在它应该的位置.
所以,我尝试直接安装和加载rgobbi并得到相同的错误:
> install.packages("rggobi") trying URL 'http://cran.rstudio.com/bin/windows/contrib/3.2/rggobi_2.1.20.zip' Content type 'application/zip' length 422326 bytes (412 KB) downloaded 412 KB package ‘rggobi’ successfully unpacked and MD5 sums checked The downloaded binary packages are in C:\Users\hackr\ApPDAta\Local\Temp\RtmpopFKT2\downloaded_packages > require(rggobi) Loading required package: rggobi Error in inDL(x,...) : unable to load shared object 'C:/Program Files/R/R-3.2.0/library/rggobi/libs/x64/rggobi.dll': LoadLibrary failure: The specified path is invalid.
我发现这很奇怪,所以我在Windows资源管理器中看一下,文件rggobi.dll正好在它应该是的地方:
在尝试加载它之后,我的下一个想法是可能存在某种文件权限问题.所以,从rggobi文件夹开始,我chmod 777设置最大权限.
我仍然无法加载包,我重复chmod 777的过程,并尝试为每个连续的文件夹级别和直接在rggobi.dll上要求(gobbi):
C:\Program Files\R\R-3.2.0\library>chmod 777 rggobi C:\Program Files\R\R-3.2.0\library>cd rggobi C:\Program Files\R\R-3.2.0\library\rggobi>ls DESCRIPTION LICENSE Meta NEWS data Help libs INDEX MD5 NAMESPACE R demo html C:\Program Files\R\R-3.2.0\library\rggobi>chmod 777 libs C:\Program Files\R\R-3.2.0\library\rggobi>cd libs C:\Program Files\R\R-3.2.0\library\rggobi\libs>chmod 777 x64 C:\Program Files\R\R-3.2.0\library\rggobi\libs>chmod 777 i386 C:\Program Files\R\R-3.2.0\library\rggobi\libs>cd x64 C:\Program Files\R\R-3.2.0\library\rggobi\libs\x64>ls rggobi.dll symbols.rds C:\Program Files\R\R-3.2.0\library\rggobi\libs\x64>chmod 777 rggobi.dll
最后,在Github上打开一个问题后,Hadley Wickham推迟到lawremi,他建议尝试32位R,但这也导致了同样的结果.
如何让这个dll /包可用于R?
@H_696_2@
@H_696_2@ @H_696_2@ @H_403_55@@H_696_2@
以上是大佬教程为你收集整理的虽然它似乎可用,但无法加载rggobi.dll全部内容,希望文章能够帮你解决虽然它似乎可用,但无法加载rggobi.dll所遇到的程序开发问题。
如果觉得大佬教程网站内容还不错,欢迎将大佬教程推荐给程序员好友。
本图文内容来源于网友网络收集整理提供,作为学习参考使用,版权属于原作者。
如您有任何意见或建议可联系处理。小编QQ:384754419,请注明来意。