r - Can't load rggobi.dll though it appears to be available -


i'm trying use clusterfly depends on rggobi.

i load clusterfly , receive error:

> 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 load shared object 'c:/program files/r/r-3.2.0/library/rggobi/libs/x64/rggobi.dll':   loadlibrary failure:  specified path invalid.  failed error:  ‘package ‘rggobi’ not 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’ unpacked , md5 sums checked  downloaded binary packages in     c:\users\hackr\appdata\local\temp\rtmpopfkt2\downloaded_packages  clusterfly installed error in indl(x, as.logical(local), as.logical(now), ...) :    unable load shared object 'c:/program files/r/r-3.2.0/library/rggobi/libs/x64/rggobi.dll':   loadlibrary failure:  specified path invalid.  failed error:  ‘package ‘rggobi’ not loaded’ warning message: in pacman::p_load(caret, clusterfly, devtools, geonames, intrees,  :   failed install/load: clusterfly 

which seems rggobi.dll not located it's supposed be.

so, try directly installing , loading rgobbi , same error:

> 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’ unpacked , md5 sums checked  downloaded binary packages 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 load shared object 'c:/program files/r/r-3.2.0/library/rggobi/libs/x64/rggobi.dll':   loadlibrary failure:  specified path invalid. 

i find strange, have in windows explorer , file rggobi.dll right it's supposed be:

rggobi.dll

after failed attempt load it, next thought there sort of file permission problem. so, starting rggobi folder, chmod 777 set maximally permissions.

i still can't load package , repeated process of chmod 777 , attempting require(gobbi) each successive folder level , directly on 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   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 

finally, after opening issue on github, hadley wickham deferred lawremi, suggested trying 32-bit r, led same result.

how can make dll/package available r?

my solution follow instructions below here

if want install rggobi, can install within r, following command: source("http://www.ggobi.org/downloads/install.r")


Comments

Popular posts from this blog

Email notification in google apps script -

c++ - Difference between pre and post decrement in recursive function argument -

javascript - IE11 incompatibility with jQuery's 'readonly'? -