- html - 出于某种原因,IE8 对我的 Sass 文件中继承的 html5 CSS 不友好?
- JMeter 在响应断言中使用 span 标签的问题
- html - 在 :hover and :active? 上具有不同效果的 CSS 动画
- html - 相对于居中的 html 内容固定的 CSS 重复背景?
我正在尝试使用clusterfly
这取决于 rggobi
.
我加载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, 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’
Warning message:
In pacman::p_load(caret, clusterfly, devtools, geonames, inTrees, :
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, 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.
我觉得这很奇怪,所以我查看了 Windows 资源管理器和文件 rggobi.dll
就在它应该在的地方:
在再次尝试加载它失败后,我的下一个想法是可能存在某种文件权限问题。所以,从 rggobi
开始文件夹,我 chmod 777
设置最大权限。
我仍然无法加载包,我重复了 chmod 777
的过程并试图require(gobbi)
对于每个连续的文件夹级别并直接位于 rggobi.dll
:
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 使用?
最佳答案
我的解决方案是按照 here 中的以下说明进行操作
If you also want to install rggobi, you can install everything from within R, with the following command:
source("http://www.ggobi.org/downloads/install.r")
关于r - 尽管 rggobi.dll 似乎可用,但无法加载,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/30245209/
来自以下xml代码: 12:00:00.01 25.02 12:00:00.02 15 12:00:01.025
我正在尝试使用clusterfly这取决于 rggobi . 我加载clusterfly并收到此错误: > pacman::p_load(caret, clusterfly, devtools, ge
我是一名优秀的程序员,十分优秀!