Problems installing EBImage
1
0
Entering edit mode
@visser-v-dr-vernonvissersunacza-5350
Last seen 9.7 years ago
Hi, I have tried everything possible to get EBImage to work on my computer without success. I have read all available previous posts to this list and consulted the web page of Joel Granado (http://joelgranados.wordpress.com/2012/04/05/very-painful-ebimage- install-on-windows/) who provides a very detailed description of how to install EBImage on Windows. I have installed gtk+ 2.0 and ImageMagick. I added "gtk+\bin" path to the system environment and I installed EBImage using the recommended method: source("http://bioconductor.org/biocLite.R") biocLite("EBImage") I still however get the following error when trying to load EBImage in R: Loading required package: abind Error in inDL(x, as.logical(local), as.logical(now), ...) : unable to load shared object 'C:/Users/vernonvisser/Documents/R/win- library/2.15/EBImage/libs/x64/EBImage.dll': LoadLibrary failure: %1 is not a valid Win32 application. Error: package/namespace load failed for 'EBImage' sessionInfo and traceback below: R version 2.15.0 (2012-03-30) Platform: x86_64-pc-mingw32/x64 (64-bit) locale: [1] LC_COLLATE=English_South Africa.1252 LC_CTYPE=English_South Africa.1252 LC_MONETARY=English_South Africa.1252 [4] LC_NUMERIC=C LC_TIME=English_South Africa.1252 attached base packages: [1] stats graphics grDevices utils datasets methods base other attached packages: [1] abind_1.4-0 rgdal_0.7-11 raster_2.0-04 sp_0.9-99 biOps_0.2.1.1 RgoogleMaps_1.2.0 [7] png_0.1-4 loaded via a namespace (and not attached): [1] grid_2.15.0 lattice_0.20-6 tools_2.15.0 traceback: 2: stop(gettextf("package/namespace load failed for %s", sQuote(package)), call. = FALSE, domain = NA) 1: library(EBImage) If you could please help me out with this I would be most appreciative. Many thanks, Vernon Visser Post-doctoral Research Associate Centre of Excellence for Invasion Biology Department of Botany and Zoology Natural Sciences Building Private Bag X1 University of Stellenbosch Matieland 7602 South Africa https://sites.google.com/site/vernonvisserpostdoc/ [[alternative HTML version deleted]]
EBImage EBImage • 2.6k views
ADD COMMENT
0
Entering edit mode
Gregoire Pau ▴ 60
@gregoire-pau-5351
Last seen 9.7 years ago
Hello Visser, EBImage works well on Windows but its dependencies (namely GTK+ and ImageMagick) could be difficult to install. First, which version of EBImage are you installing? You should use the most recent, EBImage 3.12.0, which works well on Win64. Second, are GTK+ and ImageMagick correctly installed? To check this, open a console and type "gtk-demo" and "display". You should not get any error message. Third, what is your current PATH? Type "echo %PATH%" in a console: gtk\bin and ImageMagick should be in the PATH directory. Best, Greg On Wed, Jun 20, 2012 at 3:55 AM, Visser, V, Dr <vernonvisser@sun.ac.za> < vernonvisser@sun.ac.za> wrote: > Hi, > > I have tried everything possible to get EBImage to work on my computer > without success. I have read all available previous posts to this list and > consulted the web page of Joel Granado ( > http://joelgranados.wordpress.com/2012/04/05/very-painful-ebimage- install-on-windows/) > who provides a very detailed description of how to install EBImage on > Windows. > > I have installed gtk+ 2.0 and ImageMagick. I added "gtk+\bin" path to the > system environment and I installed EBImage using the recommended method: > source("http://bioconductor.org/biocLite.R") > biocLite("EBImage") > > I still however get the following error when trying to load EBImage in R: > Loading required package: abind > Error in inDL(x, as.logical(local), as.logical(now), ...) : > unable to load shared object > 'C:/Users/vernonvisser/Documents/R/win- library/2.15/EBImage/libs/x64/EBImage.dll': > LoadLibrary failure: %1 is not a valid Win32 application. > > Error: package/namespace load failed for 'EBImage' > > sessionInfo and traceback below: > R version 2.15.0 (2012-03-30) > Platform: x86_64-pc-mingw32/x64 (64-bit) > > locale: > [1] LC_COLLATE=English_South Africa.1252 LC_CTYPE=English_South > Africa.1252 LC_MONETARY=English_South Africa.1252 > [4] LC_NUMERIC=C LC_TIME=English_South Africa.1252 > > attached base packages: > [1] stats graphics grDevices utils datasets methods base > > other attached packages: > [1] abind_1.4-0 rgdal_0.7-11 raster_2.0-04 sp_0.9-99 > biOps_0.2.1.1 RgoogleMaps_1.2.0 > [7] png_0.1-4 > > loaded via a namespace (and not attached): > [1] grid_2.15.0 lattice_0.20-6 tools_2.15.0 > > traceback: > 2: stop(gettextf("package/namespace load failed for %s", sQuote(package)), > call. = FALSE, domain = NA) > 1: library(EBImage) > > If you could please help me out with this I would be most appreciative. > > Many thanks, > > Vernon Visser > Post-doctoral Research Associate > Centre of Excellence for Invasion Biology > Department of Botany and Zoology > Natural Sciences Building > Private Bag X1 > University of Stellenbosch > Matieland > 7602 > South Africa > https://sites.google.com/site/vernonvisserpostdoc/ > > > [[alternative HTML version deleted]] > > _______________________________________________ > Bioconductor mailing list > Bioconductor@r-project.org > https://stat.ethz.ch/mailman/listinfo/bioconductor > Search the archives: > http://news.gmane.org/gmane.science.biology.informatics.conductor > [[alternative HTML version deleted]]
ADD COMMENT

Login before adding your answer.

Traffic: 516 users visited in the last hour
Help About
FAQ
Access RSS
API
Stats

Use of this site constitutes acceptance of our User Agreement and Privacy Policy.

Powered by the version 2.3.6