[BioC] FW: Graphviz in Vista64

Martin Morgan mtmorgan at fhcrc.org
Mon Mar 2 19:08:52 CET 2009


Hi Fraser -- I think your best bet is to build Rgraphviz from source,
rather than using the Windows binary from Bioconductor. This will
allow you to link with the specific version of graphviz that you
'know' works on Vista64, otherwise you're relying too strongly on
compile-time assumptions (about the linked graphviz DLLs) that you
know to be incorrect.

Since R does not yet build on 64bit windows, I guess the path forward
is to build Rgraphviz with the appropriate graphviz from source on a
32bit windows, and to use that with 32bit graphviz on Vista. It would
not be too surprising if this contiues to be problematic -- memory
allocation bugs (in both Rgraphviz and graphviz) that are hidden under
32bit windows might well be exposed under 64bit Vista.

Building Windows packages from source requires extra tooling, but is
not too complicated. See

  http://www.murdoch-sutherland.com/Rtools/

no need for the 'optional' components listed on that page. There are
additional instructions for building Rgraphviz in the README file of
that package.

Martin

"Sim, Fraser" <Fraser_Sim at urmc.rochester.edu> writes:

> Hi Kasper,
>
> The graphviz installations that I have tried include the following
> versions downloaded from http://www.graphviz.org/ :
>
> 2.20.3 - In R, loads Rgraphviz package fine but crashes when layout
> performed. Also, GVedit.exe did not work correctly and the graphViz
> developer, Arif, suggested I try the developer version.
>
> Tried both:
>  graphviz-2.21.20090202.1215.msi
>  graphviz-mingw-2.21.20090202.1215.msi
>
> Both versions worked via GVedit.exe. The package loads but now with a
> warning. RGUI.EXE continues to crash on attempts to perform
> layoutGraph().



> The term 'crash' here means, a pop-up dialog from Vista informing me
> that RGUI.EXE has stopped working and Windows will close the program.
> There are no additional details.
>
> I have installed and used Rgraphviz on a number of XP32 boxes and so am
> familiar with the quirks required to get it working. This is an entirely
> different problem.
>
> I have switched to Vista64 to work with larger datasets requiring
> additional memory.
>
> Thanks,
> Fraser
>
> -----Original Message-----
> From: Kasper Daniel Hansen [mailto:khansen at stat.berkeley.edu] 
> Sent: Monday, March 02, 2009 11:48 AM
> To: Sim, Fraser
> Cc: Bioconductor at stat.math.ethz.ch
> Subject: Re: [BioC] Graphviz in Vista64
>
> Most likely something is wrong with your graphviz installation, but  
> since you don't provide any details about that, it is impossible to  
> help. We would also like to see the actual crash output from R or a  
> better description of what you mean by "crash"
>
> Kasper
>
> On Mar 2, 2009, at 7:48 , Sim, Fraser wrote:
>
>> Hi Bioconductors,
>>
>> Has anyone successfully used the Rgraphviz package to plot graphs in R
>> under Vista64??
>>
>> I have found that RGUI.EXE crashes upon execution of the layoutGraph
>> step.
>>
>> Running the following reliably crashes R.
>>
>> library("Rgraphviz")
>> g = new("graphNEL", nodes = c("a","b","c"))
>> debug(Rgraphviz:::graphLayout)
>> sessionInfo()
>> layoutGraph(g)
>>
>> Thanks,
>> Fraser
>>
>> PS. The crash occurs in :
>>
>> Rgraphviz:::graphLayout
>> .Call("Rgraphviz_doLayout",graph,as.integer(type),PACKAGE="Rgraphviz")
>>
>> PPS.
>> 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
>>
>> [8] base
>>
>> other attached packages:
>> [1] Rgraphviz_1.20.3 graph_1.20.0     rcom_2.0-4       rscproxy_1.0-12
>>
>> loaded via a namespace (and not attached):
>> [1] cluster_1.11.12 tools_2.8.1
>>
>> _______________________________________________
>> 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
>
> _______________________________________________
> 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