[BioC] EBImage package loading error due to configuration of gtk
Gregoire Pau
gregoire.pau at embl.de
Thu Sep 3 19:03:49 CEST 2009
Dear Patrick,
Which version of EBImage are you using ?
It looks like that your system is not able to locate the GTK library.
Did you add the 'C:\gtk\bin' directory to the PATH environment variable,
as mentioned in the installation guide ? If not, this should fix the
issue you are mentioning (do not forget to restart R after doing this).
Regards,
Greg
---
Gregoire Pau
EMBL Research Officer
http://www.ebi.ac.uk/~gpau/
Patrick Zimmerman wrote:
> Thanks for responding. Here's the sessionInfo() output from the R terminal:
>
>> sessionInfo()
> R version 2.9.1 (2009-06-26)
> i386-pc-mingw32
>
> locale:
> LC_COLLATE=English_United States.1252;LC_CTYPE=English_United
> States.1252;LC_MONETARY=English_United
> States.1252;LC_NUMERIC=C;LC_TIME=English_United States.1252
>
> attached base packages:
> [1] stats graphics grDevices utils datasets methods base
>
> other attached packages:
> [1] abind_1.1-0
>
> loaded via a namespace (and not attached):
> [1] tools_2.9.1
>
> As far as downloading the dependencies, I got the GTK+ all-in-one bundle
> from this url: http://www.gtk.org/download-windows.html. I got the Q16 dll
> download of ImageMagick from this url:
> http://www.imagemagick.org/script/binary-releases.php#windows. I followed
> the installation instructions for Windows from this url:
> http://www.bioconductor.org/packages/devel/bioc/vignettes/EBImage/inst/doc/EBImage-installation.pdf.
> I had some difficulty with ImageMagick which were solved by installing Visual
> C++ 2008 Redistributable Package
> (x86)<http://www.microsoft.com/downloads/details.aspx?familyid=A5C84275-3B97-4AB7-A40D-3802B2AF5FC2>as
> suggested on ImageMagick download page.
>
> Besides the gtk system variable i mentioned in my original email, I also
> have a system variable entitled path whose value is very long. it begins
> with
>
> C:\Program Files\ImageMagick-6.5.5-Q16;C:\Program
> Files\SAS\SharedFiles\Formats;C:\Program Files\SSH_SCP;C:\WINDOWS\Downloaded
> Program Files;C:\Program Files\ATI Technologies\ATI Control Panel;
>
> and continues. i did not see any mention of gtk in this path.
>
> Patrick
>
>
> On Thu, Sep 3, 2009 at 11:21 AM, Wolfgang Huber <whuber at embl.de> wrote:
>
>> Dear Patrick
>>
>> thank you for your feedback. Can you please provide the output
>> sessionInfo()?
>>
>> Did you make sure to follow the instructions in Section 3 of the vignette
>> 'EBImage installation' and in particular on where to download these add-on
>> libraries and which versions to use?
>>
>> Best wishes
>> Wolfgang
>>
>> Patrick Zimmerman wrote:
>>
>>> I have had a problem loading the EBImage package which seems to be tied to
>>> gtk.
>>>
>>> I am using Windows XP, and I have sucessfully installed gtk and
>>> Imagemagick. Both programs run on their own. I also (apparently) have
>>> successfully installed EBImage because the R terminal printed this
>>> message:
>>>
>>> package 'EBImage' successfully unpacked and MD5 sums checked
>>>
>>> The downloaded packages are in
>>> C:\Documents and Settings\plzimmerman\Local
>>> Settings\Temp\RtmpifIost\downloaded_packages
>>> updating HTML package descriptions
>>>
>>> the problem arises just when i attempt to load the library. i use
>>> library(EBImage), and receive the following message, not from the R
>>> terminal, but from a dialog box. Across the banner of the box, it reads:
>>> "100% downloaded: Rterm.exe - Unable To Locate Component". Inside the
>>> box,
>>> it reads: "This application has failed to start because
>>> libgdk-win32-2.0-0.dll was not found. Re-installing the application may
>>> fix
>>> this problem."
>>>
>>> I have gtk installed right on my C drive, and i have located the file in
>>> question. It's address is: C:\gtk\bin\libgdk-win32-2.0-0.dll. This seems
>>> like an address that should not present any problem, i.e. no spaces or
>>> anything. I have also checked to see if i had any path issues. on my
>>> computer, i go to system properties - environment variables - system
>>> variables. there is a variable named gtk whose value is C:\gtk\bin.
>>>
>>> Any advice will be appreciated.
>>>
>>> Patrick Zimmerman
>>> USDA Forest Service STEP Employee
>>> Univ of MN School of Statistics Graduate Student
>>>
>>> [[alternative HTML version deleted]]
>>>
>>> _______________________________________________
>>> Bioconductor mailing list
>>> Bioconductor at stat.math.ethz.ch
>>> https://stat.ethz.ch/mailman/listinfo/bioconductor
>>> Search the archives:
>>> http://news.gmane.org/gmane.science.biology.informatics.conductor
>>>
>> --
>>
>> Best wishes
>> Wolfgang
>>
>> -------------------------------------------------------
>> Wolfgang Huber
>> EMBL
>> http://www.embl.de/research/units/genome_biology/huber
>> -------------------------------------------------------
>>
>
> [[alternative HTML version deleted]]
>
> _______________________________________________
> Bioconductor mailing list
> Bioconductor at stat.math.ethz.ch
> https://stat.ethz.ch/mailman/listinfo/bioconductor
> Search the archives: http://news.gmane.org/gmane.science.biology.informatics.conductor
More information about the Bioconductor
mailing list