[BioC] Rgraphviz installation: DLL problem?

Martin Morgan mtmorgan at fhcrc.org
Mon Feb 1 19:39:35 CET 2010


On 01/30/2010 11:46 AM, Gustavo Lacerda wrote:
> hi,
> 
> It sounds like this is a common issue, but I couldn't find a solution.
> 
> I can load most libraries just fine, but when I do library(Rgraphviz), it
> complains about being unable to load a DLL. Full details below this
> message.
> 
> When I do this from inside the RConsole (as opposed to doing it from
> Emacs), it tells me that "libcdt-4.dll was not found".
> 
> I am using R version 2.9.1 (2009-06-26) on Windows XP, and I just got
> a fresh Rgraphviz using 'biocLite'.
> 
> By the way, I am wondering if my path needs to contain
> Graphviz2.20/bin, or anything else. This stopped working right around
> the time when I messed with my PATH, and I haven't been able to fix it
> since.
> 

Hi Gustavo --

yes, your PATH needs to include something like

  c:\Program Files\Graphviz2.20\bin

> Gustavo
> 
> 
> 
>> library(Rgraphviz)
> 
> Error in inDL(x, as.logical(local), as.logical(now), ...) :
>  unable to load shared library
> 'c:/PROGRA~1/R/R-2.9.1/library/Rgraphviz/libs/Rgraphviz.dll':
>  LoadLibrary failure:  The specified module could not be found.
> 
> In addition: Warning message:
> package 'Rgraphviz' was built under R version 2.9.2
> Error: package/namespace load failed for 'Rgraphviz'

You shouldn't see this message if you install using biocLite(). If you
do, then please let us know; you might want to visit

  http://bioconductor.org/docs/install

and follow the directions for updating packages.

Martin
> 
> _______________________________________________
> 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


-- 
Martin Morgan
Computational Biology / Fred Hutchinson Cancer Research Center
1100 Fairview Ave. N.
PO Box 19024 Seattle, WA 98109

Location: Arnold Building M1 B861
Phone: (206) 667-2793



More information about the Bioconductor mailing list