[BioC] shared library 'Rgraphviz' not found

Gustavo Lacerda gusb at optimizelife.com
Thu Feb 18 10:01:27 CET 2010


> Hi Gustavo --
>
> yes, your PATH needs to include something like
>
>  c:\Program Files\Graphviz2.20\bin


Thanks!

In the meantime, things stopped working again due to a system
restore... While I did lose my modified PATH variable, I suspect
something else is responsible this time.

Now when I do:  library(Rgraphviz)
My error is:  there is no package called 'Rgraphviz'

When I do
 strsplit(Sys.getenv("PATH"), ";")

I get :
$PATH
...
 [3] "C:\\Progra~1\\Graphviz2.20\\bin"



The only slightly weird thing is that when I call library(),  I get:

<< Packages in library 'C:/PROGRA~1/R/R-29~1.1/library': >>

which is a non-existent directory: the correct name is "R-2.9.1".

Yet I can load other packages. Only Rgraphviz isn't working...

Upon further investigation, there was a weird folder named
"file1eb26e9", containing another copy of the Rgraphviz folder. The
only apparent difference between them is that the latter has 5 files
which seem to be necessary for being an R library: CONTENTS,
DESCRIPTION, INDEX, MD5, NAMESPACE.

Putting this in the place of "Rgraphviz" (after renaming the original
to "Rgraphviz-broken"), has the effect that library() can now see
Rgraphviz.  However, there is still an error:

> library(Rgraphviz)
Loading required package: graph
Loading required package: grid
Error in library.dynam(lib, package, package.lib) :
  shared library 'Rgraphviz' not found
In addition: Warning message:
package 'Rgraphviz' was built under R version 2.9.2
Error: package/namespace load failed for 'Rgraphviz'


What does this mean,  "shared library 'Rgraphviz' not found" ?

I'd be happy to reinstall Rgraphviz... but I do *NOT* want to upgrade
from 1.22.2, because that sounds like more headache.

Cheers,

Gustavo



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