[BioC] Rgraphviz: .onLoad error
Kasper Daniel Hansen
khansen at stat.berkeley.edu
Wed May 6 00:44:47 CEST 2009
You are using R-2.8.1, so the easiest fix would be for you to upgrade
to R-2.9. I am not sure we can be too helpfull with older version.
Nevertheless, from
http://bioconductor.org/checkResults/2.3/bioc-LATEST/Rgraphviz/liverpool-checksrc.html
it seems that this version of graphviz was build using 2.21, which is
a development version (based on the directory name). You will not be
able to find that archived anywhere. I suggest building from source
yourself. Or perhaps try Graphviz 2.22 which we still have some
hiccups with.
So, you should upgrade....
Kasper
On May 5, 2009, at 14:49 , Michael Friendly wrote:
> [Sysinfo: Win XP, R 2.8.1, graphviz 2.20]
>
> I just tried to install and load Rgraphviz following the
> instructions at
> http://www.bioconductor.org/packages/release/bioc/html/Rgraphviz.html
> giving the error in the transcript below when I try to load the
> package.
>
> I know from previous threads on R-help, e.g.,
> http://finzi.psych.upenn.edu/R/Rhelp08/archive/137494.html
> that versions of Rgraphviz and graphviz have to be in sync, graphviz
> (e.g., dot)
> have to be on the path, etc. and I think I've satisfied these, but I
> get the same
> error (.onLoad failed ...).
> Checking the .dll referred to in the message,
> unable to load shared library 'C:/R/R-2.8.1/library/Rgraphviz/libs/
> Rgraphviz.dll':
> shows that it is actually there.
>
> What is wrong & how can I correct it?
> -Michael
>
>
> Graphviz version:
> [HEALTH] C:\>dot -V
> dot - Graphviz version 2.20.2 (Wed Jul 9 19:59:08 GMT 2008)
>
>
> > source("http://bioconductor.org/biocLite.R")
> > biocLite("Rgraphviz")
> Running biocinstall version 2.3.13 with R version 2.8.1
> Your version of R requires version 2.3 of Bioconductor.
> trying URL 'http://bioconductor.org/packages/2.3/bioc/bin/windows/contrib/2.8/Rgraphviz_1.20.4.zip'
> Content type 'application/zip' length 1008719 bytes (985 Kb)
> opened URL
> downloaded 985 Kb
>
> package 'Rgraphviz' successfully unpacked and MD5 sums checked
>
> The downloaded packages are in
> C:\Documents and Settings\default\Local Settings\Temp
> \Rtmp5a3NNx\downloaded_packages
> updating HTML package descriptions
> > library(Rgraphviz)
> Loading required package: graph
> Error in inDL(x, as.logical(local), as.logical(now), ...) :
> unable to load shared library 'C:/R/R-2.8.1/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'
> > sessionInfo()
> R version 2.8.1 (2008-12-22)
> 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] grid stats graphics grDevices utils datasets
> methods base
> other attached packages:
> [1] graph_1.20.0 sem_0.9-16 rgl_0.84 psych_1.0-67
> lattice_0.17-22
> [6] heplots_0.8-7 car_1.2-14
> loaded via a namespace (and not attached):
> [1] cluster_1.11.13 tools_2.8.1
> --
> Michael Friendly Email: friendly AT yorku DOT ca Professor,
> Psychology Dept.
> York University Voice: 416 736-5115 x66249 Fax: 416 736-5814
> 4700 Keele Street http://www.math.yorku.ca/SCS/friendly.html
> Toronto, ONT M3J 1P3 CANADA
>
> _______________________________________________
> 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