[BioC] problems loading the Rgraphviz package

Martin Morgan mtmorgan at fhcrc.org
Thu May 8 15:02:49 CEST 2008


Hi --

The Rgraphviz currently available for Windows with biocLite is built
with graphviz 2.16, so you'll need to install

http://www.graphviz.org/pub/graphviz/ARCHIVE/graphviz-win-2.16.1.bin.tar.gz

Likely the problem you have below is because the path to graphviz
needs to be added to your system PATH variable, e.g., settings -> control
panels -> system -> advanced -> Environment Variables and then adding
or editing a variable PATH to contain the path to graphviz' bin
directory. My path reads in part

C:\Program Files\Graphviz2.16\Bin

The version of graphviz installed on your computer has to match the
version used to build Rgraphviz, so 2.18 will not work.

Martin


LiGang <luzifer.li at gmail.com> writes:

> I have problems loading the Rgraphviz package under Windows with  the newest
> version of R.
>
> I installed Rgraphviz package using biocLite("Rgraphviz") method and the
> package version of Rgraphviz is 1.18.0.(Also, I have installed the
> "Rgraphviz" version 1.16.0 with no trouble at all)
>
>
>
> Here is the error message I am getting:
>
> ----
> Error in inDL(x, as.logical(local), as.logical(now), ...) :
>   unable to load shared library
> 'C:/PROGRA~1/R/R-27~1.0RC/library/Rgraphviz/libs/Rgraphviz.dll':
>   LoadLibrary failure:  The specified module could not be found.
>
> Error : .onLoad failed in 'loadNamespace' for 'Rgraphviz'
> Error: package/namespace load failed for 'Rgraphviz'
> -----
>
> The version of Bioconductor is 2.2.
>
> And here is the session info:
> ############
> R version 2.7.0 (2008-04-22)
> i386-pc-mingw32
>
> locale:
> LC_COLLATE=Chinese_People's Republic of China.936;LC_CTYPE=Chinese_People's
> Republic of China.936;LC_MONETARY=Chinese_People's Republic of
> China.936;LC_NUMERIC=C;LC_TIME=Chinese_People's Republic of China.936
>
> attached base packages:
> [1] grid      stats     graphics  grDevices utils     datasets  methods
> base
>
> other attached packages:
> [1] graph_1.18.0
>
> loaded via a namespace (and not attached):
> [1] cluster_1.11.10 tools_2.7.0
> ############
>
> Thanks!
>
> ---
> LiGang
>
> 	[[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

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

Location: Arnold Building M2 B169
Phone: (206) 667-2793



More information about the Bioconductor mailing list